Edit

Share via


PresenceCategory.GenerateMD5Hash(String, Int32) Method

Definition

Caution

This method will be removed from future versions. Use 'public static long GenerateInstanceId(string id, int numberOfBits)'

Generate an MD5 hash for a given string identifier and number of bits, return the ID.

public:
 static long GenerateMD5Hash(System::String ^ id, int numberOfBits);
[System.Obsolete("This method will be removed from future versions. Use 'public static long GenerateInstanceId(string id, int numberOfBits)'")]
public static long GenerateMD5Hash (string id, int numberOfBits);
static member GenerateMD5Hash : string * int -> int64
Public Shared Function GenerateMD5Hash (id As String, numberOfBits As Integer) As Long

Parameters

id
String

Identifier

numberOfBits
Int32

Should be 8 to 32 bits.

Returns

Attributes

Applies to