Version

IsImageStreamValid Method

Can be overridden to indicate whether images returned over the wire are valid to display or not.
Syntax
'Declaration
 
Protected Friend Overridable Function IsImageStreamValid( _
   ByVal stream As Stream _
) As Boolean
protected internal virtual bool IsImageStreamValid( 
   Stream stream
)

Parameters

stream
The image data to validate.

Return Value

True if the image data is valid for display.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also