public LivingDog.LIV_hardware_info Grand_GetHardware_info() { LivingDog.LIV_hardware_info lIV_hardware_info = default(LivingDog.LIV_hardware_info); this.RetCode = LivingDog.LIV_get_hardware_info(this.ulDogHandle, ref lIV_hardware_info); LivingDog.LIV_hardware_info result; if ((long)this.RetCode == (long)((ulong)LivingDog.LIV_SUCCESS)) { result = lIV_hardware_info; } else { lIV_hardware_info.RetCode = this.RetCode; result = lIV_hardware_info; } return(result); }
public int Grand_ChangePwd(int p_UserType, string p_NewPwd) { this.RetCode = LivingDog.LIV_set_passwd(this.ulDogHandle, p_UserType, Encoding.Default.GetBytes(p_NewPwd), -1); return(this.RetCode); }
public int Grand_Write(int p_Bloker, byte[] p_byte) { this.RetCode = LivingDog.LIV_write(this.ulDogHandle, p_Bloker, p_byte); return(this.RetCode); }
public int Grand_Passwd(int p_UserType, string p_Pwd) { byte[] bytes = Encoding.Default.GetBytes(p_Pwd); this.RetCode = LivingDog.LIV_passwd(this.ulDogHandle, p_UserType, bytes); return(this.RetCode); }
public int Grand_CloseDog() { this.RetCode = LivingDog.LIV_close(this.ulDogHandle); return(this.RetCode); }
public int Grand_OpenDog(int vendor, int index) { this.RetCode = LivingDog.LIV_open(vendor, index, ref this.ulDogHandle); return(this.RetCode); }