PresenceCategory.GenerateMD5Hash Method
NOTE: This API is now obsolete.
Generate an MD5 hash for a given string identifier and number of bits, return the ID.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
<ObsoleteAttribute("This method will be removed from future versions. Use 'public static long GenerateInstanceId(string id, int numberOfBits)'")> _
Public Shared Function GenerateMD5Hash ( _
id As String, _
numberOfBits As Integer _
) As Long
'Usage
Dim id As String
Dim numberOfBits As Integer
Dim returnValue As Long
returnValue = PresenceCategory.GenerateMD5Hash(id, _
numberOfBits)
[ObsoleteAttribute("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
)
Parameters
- id
Type: System.String
Identifier
- numberOfBits
Type: System.Int32
Should be 8 to 32 bits.
Return Value
Type: System.Int64