PngExtensionsSaveAsPngAsync Method (Identicon, Stream)
Saves an Identicon
icon as a Portable Network Graphics (PNG) file asynchronously.
public static Task SaveAsPngAsync(
this Identicon icon,
Public Shared Function SaveAsPngAsync (
icon As Identicon,
stream As Stream
) As Task
- The identicon to save.
- The stream to which the PNG data will be written.
In Visual Basic and C#, you can call this method as an instance method on any object of type Identicon
. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic)
or Extension Methods (C# Programming Guide)