/// <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(); } }
/// <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 }