/// <summary> /// 关闭Session,此函数无需外界单独调用,对应功能模块调用已经和开启Session成对存在 /// </summary> /// <returns></returns> private kAMDError StopSession() { isSessionOpen = false; try { return((kAMDError)MobileDevice.AMDeviceStopSession(DevicePtr)); } catch { return(kAMDError.kAMDUndefinedError); } }