NetworkDoubleBaseAccountCertificateAsync 方法 |
认证账号,根据已经设置的用户名和密码,进行发送服务器进行账号认证。
Authentication account, according to the user name and password that have been set, sending server for account authentication.
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected Task<OperateResult> AccountCertificateAsync(
Socket socket
)
Protected Function AccountCertificateAsync (
socket As Socket
) As Task(Of OperateResult)
protected:
Task<OperateResult^>^ AccountCertificateAsync(
Socket^ socket
)
member AccountCertificateAsync :
socket : Socket -> Task<OperateResult>
参数
- socket
- 类型:System.Net.SocketsSocket
套接字
返回值
类型:
TaskOperateResult认证结果
参见