Exemplo n.º 1
0
 public static void uplink_free_object_result(UplinkObjectResult obj)
 {
     storj_uplinkPINVOKE.uplink_free_object_result(UplinkObjectResult.getCPtr(obj));
     if (storj_uplinkPINVOKE.SWIGPendingException.Pending)
     {
         throw storj_uplinkPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UplinkObjectResult obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 3
0
        public static UplinkObjectResult uplink_upload_info(UplinkUpload upload)
        {
            UplinkObjectResult ret = new UplinkObjectResult(storj_uplinkPINVOKE.uplink_upload_info(UplinkUpload.getCPtr(upload)), true);

            return(ret);
        }
Exemplo n.º 4
0
        public static UplinkObjectResult uplink_delete_object(UplinkProject project, string bucket_name, string object_key)
        {
            UplinkObjectResult ret = new UplinkObjectResult(storj_uplinkPINVOKE.uplink_delete_object(UplinkProject.getCPtr(project), new storj_uplinkPINVOKE.SWIGStringMarshal(bucket_name).swigCPtr, new storj_uplinkPINVOKE.SWIGStringMarshal(object_key).swigCPtr), true);

            return(ret);
        }
Exemplo n.º 5
0
        public static UplinkObjectResult uplink_delete_object(UplinkProject project, string bucket_name, string object_key)
        {
            UplinkObjectResult ret = new UplinkObjectResult(storj_uplinkPINVOKE.uplink_delete_object(UplinkProject.getCPtr(project), bucket_name, object_key), true);

            return(ret);
        }