public Task AuthRmRevokedAppAsync(IntPtr auth, string appId)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AuthRmRevokedAppNative(auth, appId, userData, DelegateOnFfiResultCb);
     return(ret);
 }
 public Task AuthReconnectAsync(IntPtr auth)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AuthReconnectNative(auth, userData, DelegateOnFfiResultCb);
     return(ret);
 }
 public Task AuthSetConfigDirPathAsync(string newPath)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AuthSetConfigDirPathNative(newPath, userData, DelegateOnFfiResultCb);
     return(ret);
 }
 public Task AuthInitLoggingAsync(string outputFileNameOverride)
 {
     var(ret, userData) = BindingUtils.PrepareTask();
     AuthInitLoggingNative(outputFileNameOverride, userData, DelegateOnFfiResultCb);
     return(ret);
 }
 public Task <string> AuthConfigDirPathAsync()
 {
     var(ret, userData) = BindingUtils.PrepareTask <string>();
     AuthConfigDirPathNative(userData, DelegateOnFfiResultStringCb);
     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);
 }
 public Task <List <RegisteredApp> > AuthRegisteredAppsAsync(IntPtr auth)
 {
     var(ret, userData) = BindingUtils.PrepareTask <List <RegisteredApp> >();
     AuthRegisteredAppsNative(auth, userData, DelegateOnFfiResultRegisteredAppListCb);
     return(ret);
 }
 public Task <List <AppAccess> > AuthAppsAccessingMutableDataAsync(IntPtr auth, byte[] mdName, ulong mdTypeTag)
 {
     var(ret, userData) = BindingUtils.PrepareTask <List <AppAccess> >();
     AuthAppsAccessingMutableDataNative(auth, mdName, mdTypeTag, userData, DelegateOnFfiResultAppAccessListCb);
     return(ret);
 }
 public Task <List <AppExchangeInfo> > AuthRevokedAppsAsync(IntPtr auth)
 {
     var(ret, userData) = BindingUtils.PrepareTask <List <AppExchangeInfo> >();
     AuthRevokedAppsNative(auth, userData, DelegateOnFfiResultAppExchangeInfoListCb);
     return(ret);
 }
예제 #11
0
 public Task <IpcReq> UnRegisteredDecodeIpcMsgAsync(string msg)
 {
     var(task, userData) = BindingUtils.PrepareTask <IpcReq>();
     AuthUnregisteredDecodeIpcMsgNative(msg, userData, DelegateOnDecodeIpcReqUnregisteredCb, DelegateOnFfiResultIpcReqErrorCb);
     return(task);
 }
 public Task <string> AuthExeFileStemAsync()
 {
     var(ret, userData) = BindingUtils.PrepareTask <string>();
     AuthExeFileStemNative(userData, DelegateOnFfiResultStringCb);
     return(ret);
 }
 public Task <AccountInfo> AuthAccountInfoAsync(IntPtr auth)
 {
     var(ret, userData) = BindingUtils.PrepareTask <AccountInfo>();
     AuthAccountInfoNative(auth, userData, DelegateOnFfiResultAccountInfoCb);
     return(ret);
 }
 public Task <string> AuthOutputLogPathAsync(string outputFileName)
 {
     var(ret, userData) = BindingUtils.PrepareTask <string>();
     AuthOutputLogPathNative(outputFileName, userData, DelegateOnFfiResultStringCb);
     return(ret);
 }