Net Encryption Library
GetStringAdler32 Method
Example 






KellermanSoftware.NetEncryptionLibrary Namespace > Encryption Class : GetStringAdler32 Method
Input String
Get the Adler 32 Checksum for a string
Syntax
'Declaration
 
Public Function GetStringAdler32( _
   ByVal value As System.String _
) As System.Long
'Usage
 
Dim instance As Encryption
Dim value As System.String
Dim value As System.Long
 
value = instance.GetStringAdler32(value)
public System.long GetStringAdler32( 
   System.string value
)
public function GetStringAdler32( 
    value: System.String
): System.Int64; 
public function GetStringAdler32( 
   value : System.String
) : System.long;
public: System.long GetStringAdler32( 
   System.string* value
) 
public:
System.int64 GetStringAdler32( 
   System.String^ value
) 

Parameters

value
Input String

Return Value

Adler CRC
Example
Encryption encryption = new Encryption(); //Trial Mode
//Encryption encryption = new Encryption("place user name here", "place license key here"); //License Mode
 
long results = encryption.GetStringAdler32("John Smith");
 
Console.WriteLine(results);
Dim encryption As New Encryption() 'Trial Mode
'Dim encryption As New Encryption("place user name here", "place license key here") 'License Mode
 
Dim results As Long = encryption.GetStringAdler32("John Smith")
 
Console.WriteLine(results)
Requirements

Target Platforms: Windows 7, 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

Reference

Encryption Class
Encryption Members