VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Png Namespace / PngFile Class / IsValidFormat(Stream) Method
Syntax Requirements SeeAlso
In This Topic
IsValidFormat(Stream) Method (PngFile)
In This Topic
Determines that stream contains PNG file.
Syntax
'Declaration

Public Shared Function IsValidFormat( _
ByVal stream
Stream with binary data of the PNG file.
As System.IO.Stream _
) As Boolean
public static bool IsValidFormat(
System.IO.Stream stream
)

Parameters

stream
Stream with binary data of the PNG file.

Return Value

True if stream contains PNG file; otherwise, false.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also