Net Encryption Library
GetStringCRC32 Method
Example 






KellermanSoftware.NetEncryptionLibrary Namespace > Encryption Class : GetStringCRC32 Method
Get the CRC 32 for a string
Syntax
'Declaration
 
Public Function GetStringCRC32( _
   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.GetStringCRC32(value)
public System.long GetStringCRC32( 
   System.string value
)
public function GetStringCRC32( 
    value: System.String
): System.Int64; 
public function GetStringCRC32( 
   value : System.String
) : System.long;
public: System.long GetStringCRC32( 
   System.string* value
) 
public:
System.int64 GetStringCRC32( 
   System.String^ value
) 

Parameters

value
Example
Encryption encryption = new Encryption(); //Trial Mode
//Encryption encryption = new Encryption("place user name here", "place license key here"); //License Mode
 
long results = encryption.GetStringCRC32("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.GetStringCRC32("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