Пример #1
0
        public void Seal()
        {
            var retobj = new ReturnData();

            NativeImpl.wbx_seal(_nativeHost, retobj);
            retobj.GetDataOrThrow();
            Console.WriteLine("WaterboxHost Sealed!");
        }
Пример #2
0
 public void Seal()
 {
     using (this.EnterExit())
     {
         var retobj = new ReturnData();
         NativeImpl.wbx_seal(_activatedNativeHost, retobj);
         retobj.GetDataOrThrow();
     }
     Console.WriteLine("WaterboxHost Sealed!");
 }