Revenj.S3.Delete C# (CSharp) Method

Delete() public method

public Delete ( ) : void
return void
        public void Delete()
        {
            if (!string.IsNullOrEmpty(Key))
                throw new ArgumentException("S3 object is empty.");
            cachedContent = null;
            Repository.Delete(Bucket, Key).Wait();
            Length = 0;
            Key = null;
        }