NetworkDoubleBaseTNetMessage, TTransformSetLoginAccount 方法 |
设置当前的登录的账户名和密码信息,并启用账户验证的功能,账户名为空时设置不生效
Set the current login account name and password information, and enable the account verification function. The account name setting will not take effect when it is empty
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:9.1.3.0 (9.1.3.0)
语法 public void SetLoginAccount(
string userName,
string password
)
Public Sub SetLoginAccount (
userName As String,
password As String
)
public:
void SetLoginAccount(
String^ userName,
String^ password
)
member SetLoginAccount :
userName : string *
password : string -> unit
参数
- userName
- 类型:SystemString
账户名 - password
- 类型:SystemString
密码
参见