示例#1
0
文件: NetSDK.cs 项目: golfpunx/CIT
 /// <summary>
 ///  Log current user off
 /// </summary>        
 public void Logout()
 {
     if (pLogined == true)//The user that has logined
     {
         CLIENT_Logout(pClientInfo.ID);
         pLogined = false;
         pClientInfo = new CLIENT_INFO();
         ThrowLastError();
     }
 }
示例#2
0
文件: NetSDK.cs 项目: golfpunx/CIT
 /// <summary>
 /// constructor:
 /// •obtain the version number of SDK
 /// •initialization DVR;
 /// </summary>
 public Client()
 {
     pSDKVersion = "1.0";//**temporary**Use 1.0 instead,The correct use of is obtained by the existing SDK interfaces
     pClientInfo = new CLIENT_INFO();
     Init();//initialization DVR
 }