public Task AuthReconnectAsync(IntPtr auth)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AuthReconnectNative(auth, userData, DelegateOnFfiResultCb);
     return(ret);
 }
 public Task AuthInitLoggingAsync(string outputFileNameOverride)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AuthInitLoggingNative(outputFileNameOverride, userData, DelegateOnFfiResultCb);
     return(ret);
 }
 public Task TestSimulateNetworkDisconnectAsync(IntPtr authPtr)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     TestSimulateNetworkDisconnectNative(authPtr, userData, OnFfiResultCb);
     return(ret);
 }
 public Task AuthFlushAppRevocationQueueAsync(IntPtr auth)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AuthFlushAppRevocationQueueNative(auth, userData, DelegateOnFfiResultCb);
     return(ret);
 }
 public Task <string> EncodeUnregisteredRespAsync(uint reqId, bool isGranted)
 {
     var(ret, userData) = BindingUtils.PrepareTask <string>();
     EncodeUnregisteredRespNative(reqId, isGranted, userData, DelegateOnFfiResultStringCb);
     return(ret);
 }
示例#6
0
 public Task AuthRmRevokedAppAsync(IntPtr auth, string appId)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AuthRmRevokedAppNative(auth, appId, userData, OnFfiResultCb);
     return(ret);
 }
 public Task <string> AuthRevokeAppAsync(IntPtr auth, string appId)
 {
     var(ret, userData) = BindingUtils.PrepareTask <string>();
     AuthRevokeAppNative(auth, appId, userData, DelegateOnFfiResultStringCb);
     return(ret);
 }
示例#8
0
 public Task <string> AuthExeFileStemAsync()
 {
     var(ret, userData) = BindingUtils.PrepareTask <string>();
     AuthExeFileStemNative(userData, OnFfiResultStringCb);
     return(ret);
 }
示例#9
0
 public Task AuthSetAdditionalSearchPathAsync(string newPath)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AuthSetAdditionalSearchPathNative(newPath, userData, OnFfiResultCb);
     return(ret);
 }
示例#10
0
 public Task <string> AuthOutputLogPathAsync(string outputFileName)
 {
     var(ret, userData) = BindingUtils.PrepareTask <string>();
     AuthOutputLogPathNative(outputFileName, userData, OnFfiResultStringCb);
     return(ret);
 }
示例#11
0
 public Task <AccountInfo> AuthAccountInfoAsync(IntPtr auth)
 {
     var(ret, userData) = BindingUtils.PrepareTask <AccountInfo>();
     AuthAccountInfoNative(auth, userData, OnFfiResultAccountInfoCb);
     return(ret);
 }
示例#12
0
 public Task <List <AppAccess> > AuthAppsAccessingMutableDataAsync(IntPtr auth, byte[] mdName, ulong mdTypeTag)
 {
     var(ret, userData) = BindingUtils.PrepareTask <List <AppAccess> >();
     AuthAppsAccessingMutableDataNative(auth, mdName, mdTypeTag, userData, OnFfiResultAppAccessListCb);
     return(ret);
 }
示例#13
0
 public Task <List <RegisteredApp> > AuthRegisteredAppsAsync(IntPtr auth)
 {
     var(ret, userData) = BindingUtils.PrepareTask <List <RegisteredApp> >();
     AuthRegisteredAppsNative(auth, userData, OnFfiResultRegisteredAppListCb);
     return(ret);
 }
示例#14
0
 public Task <List <AppExchangeInfo> > AuthRevokedAppsAsync(IntPtr auth)
 {
     var(ret, userData) = BindingUtils.PrepareTask <List <AppExchangeInfo> >();
     AuthRevokedAppsNative(auth, userData, OnFfiResultAppExchangeInfoListCb);
     return(ret);
 }
 public Task <IpcReq> UnRegisteredDecodeIpcMsgAsync(string msg)
 {
     var(task, userData) = BindingUtils.PrepareTask <IpcReq>();
     AuthUnregisteredDecodeIpcMsgNative(msg, userData, DelegateOnDecodeIpcReqUnregisteredCb, DelegateOnFfiResultIpcReqErrorCb);
     return(task);
 }
示例#16
0
 public Task AppSetConfigDirPathAsync(string newPath)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AppSetConfigDirPathNative(newPath, userData, DelegateOnFfiResultCb);
     return(ret);
 }