예제 #1
0
        public bool Open(Filename name, FILEOPEN mode, FILEDIALOG error_dialog, BYTEORDER order)
        {
            bool ret = C4dApiPINVOKE.BaseFile_Open__SWIG_2(swigCPtr, Filename.getCPtr(name), (int)mode, (int)error_dialog, (int)order);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        public bool Open(Filename name, string key, int keylen, int blocksize, uint aes_flags, FILEOPEN mode, FILEDIALOG error_dialog, BYTEORDER order)
        {
            bool ret = C4dApiPINVOKE.AESFile_Open__SWIG_2(swigCPtr, Filename.getCPtr(name), key, keylen, blocksize, aes_flags, (int)mode, (int)error_dialog, (int)order);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
 public void SetOrder(BYTEORDER order)
 {
     C4dApiPINVOKE.BaseFile_SetOrder(swigCPtr, (int)order);
 }