示例#1
0
 public AuthReq(AuthReqNative native)
 {
     App          = native.App;
     AppContainer = native.AppContainer;
     Containers   =
         BindingUtils.CopyToObjectList <ContainerPermissions>(native.ContainersPtr, (int)native.ContainersLen);
 }
示例#2
0
 static extern void EncodeAuthRespNative(
     IntPtr auth,
     ref AuthReqNative req,
     uint reqId,
     [MarshalAs(UnmanagedType.U1)] bool isGranted,
     IntPtr userData,
     FfiResultStringCb oCb);