Click or drag to resize

PasswordUtilMD5Password Method

Generates the MD5 hash of the user password.

Namespace:  Sfs2X.Util
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static string MD5Password(
	string pass
)

Parameters

pass
Type: SystemString
The plain text password.

Return Value

Type: String
The hashed password.
Examples
string userName = "testName";
string userPass = "testPass";

string md5Pass = PasswordUtil.MD5Password(userPass);
sfs.Send(new LoginRequest(userName, md5Pass, sfs.Config.Zone));
See Also