示例#1
0
 public void AddFile(string filepath, string filename, FileListNodeContext context)
 {
     SLikeNetPINVOKE.FileList_AddFile__SWIG_0(swigCPtr, filepath, filename, FileListNodeContext.getCPtr(context));
     if (SLikeNetPINVOKE.SWIGPendingException.Pending)
     {
         throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public void AddFilesFromDirectory(string applicationDirectory, string subDirectory, bool writeHash, bool writeData, bool recursive, FileListNodeContext context)
 {
     SLikeNetPINVOKE.FileList_AddFilesFromDirectory(swigCPtr, applicationDirectory, subDirectory, writeHash, writeData, recursive, FileListNodeContext.getCPtr(context));
     if (SLikeNetPINVOKE.SWIGPendingException.Pending)
     {
         throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public void AddFile(string filename, string fullPathToFile, byte[] inByteArray, uint dataLength, uint fileLength, FileListNodeContext context)
 {
     SLikeNetPINVOKE.FileList_AddFile__SWIG_2(swigCPtr, filename, fullPathToFile, inByteArray, dataLength, fileLength, FileListNodeContext.getCPtr(context));
     if (SLikeNetPINVOKE.SWIGPendingException.Pending)
     {
         throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public uint GetFilePart(string filename, uint startReadBytes, uint numBytesToRead, byte[] inOutByteArray, FileListNodeContext context)
        {
            uint ret = SLikeNetPINVOKE.IncrementalReadInterface_GetFilePart(swigCPtr, filename, startReadBytes, numBytesToRead, inOutByteArray, FileListNodeContext.getCPtr(context));

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
 internal static HandleRef getCPtr(FileListNodeContext obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }