UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
ImageToBase64 Method
The source System.Drawing.Image to convert.
Converts a System.Drawing.Image to a base-64 string representation.
Syntax
[SuppressMessage(Category="Microsoft.Reliability", 
   CheckId="CA2002:DoNotLockOnObjectsWithWeakIdentity", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")]
public static string ImageToBase64( 
   Image image
)

Parameters

image
The source System.Drawing.Image to convert.

Return Value

The base-64 stream string representation of the provided image.