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
Visual Basic (Declaration) |
Public
Shared
Function
GenerateMD5Hash ( _
id
As
String, _
numberOfBits
As
Integer _
)
As
Long
|
C# |
public
static
long
GenerateMD5Hash(
string
id,
int
numberOfBits
)
|
Visual C++ |
public:
static
long long
GenerateMD5Hash(
String^
id,
int
numberOfBits
)
|
JavaScript |
Microsoft.Rtc.Collaboration.Presence.PresenceCategory.
generateMD5Hash =
function(
id,
numberOfBits);
|
Parameters
-
id
- Type:
String
Identifier
-
numberOfBits
- Type:
Int32
Should be 8 to 32 bits.
Return Value
See Also