C# 클래스 Akamai.NetStorage.NetStorage

The Netstorage class is the preferred interface for calling libraries indending to leverage the Netstorage API. All of the available actions are innumerated in this library and are responsible for the correct business logic to assemble the request to the API. Some early safetys are added in this library to limit errors. TODO: Add "LIST" support for ObjectStore TODO: Detect FileStore v. ObjectStore TODO: Extract xml response from various requests into standard object representation Author: [email protected] (Colin Bendell)
파일 보기 프로젝트 열기: vimond/NetStorageKit-C-Sharp 1 사용 예제들

공개 메소드들

메소드 설명
DU ( string path, string format = "xml" ) : Stream
Delete ( string path ) : bool
Dir ( string path, string format = "xml" ) : Stream
Download ( string path ) : Stream
MTime ( string path, System.DateTime mTime = null ) : bool
MkDir ( string path ) : bool
NetStorage ( string hostname, string username, string key, bool useSSL = false ) : System
QuickDelete ( string path ) : bool
Rename ( string path, string original ) : bool
RmDir ( string path ) : bool
Stat ( string path, string format = "xml" ) : Stream
Symlink ( string path, string target ) : bool
Upload ( string path, FileInfo srcFile, bool indexZip = null ) : bool
Upload ( string path, Stream uploadFileStream, System.DateTime mTime = null, long size = null, byte md5Checksum = null, byte sha1Checksum = null, byte sha256Checksum = null, bool indexZip = null ) : bool

비공개 메소드들

메소드 설명
execute ( string method, string path, Akamai.Netstorage.APIParams acsParams, Stream uploadStream = null ) : Stream
getNetStorageUri ( string path ) : Uri

메소드 상세

DU() 공개 메소드

public DU ( string path, string format = "xml" ) : Stream
path string
format string
리턴 Stream

Delete() 공개 메소드

public Delete ( string path ) : bool
path string
리턴 bool

Dir() 공개 메소드

public Dir ( string path, string format = "xml" ) : Stream
path string
format string
리턴 Stream

Download() 공개 메소드

public Download ( string path ) : Stream
path string
리턴 Stream

MTime() 공개 메소드

public MTime ( string path, System.DateTime mTime = null ) : bool
path string
mTime System.DateTime
리턴 bool

MkDir() 공개 메소드

public MkDir ( string path ) : bool
path string
리턴 bool

NetStorage() 공개 메소드

public NetStorage ( string hostname, string username, string key, bool useSSL = false ) : System
hostname string
username string
key string
useSSL bool
리턴 System

QuickDelete() 공개 메소드

public QuickDelete ( string path ) : bool
path string
리턴 bool

Rename() 공개 메소드

public Rename ( string path, string original ) : bool
path string
original string
리턴 bool

RmDir() 공개 메소드

public RmDir ( string path ) : bool
path string
리턴 bool

Stat() 공개 메소드

public Stat ( string path, string format = "xml" ) : Stream
path string
format string
리턴 Stream

Symlink() 공개 메소드

public Symlink ( string path, string target ) : bool
path string
target string
리턴 bool

Upload() 공개 메소드

public Upload ( string path, FileInfo srcFile, bool indexZip = null ) : bool
path string
srcFile System.IO.FileInfo
indexZip bool
리턴 bool

Upload() 공개 메소드

public Upload ( string path, Stream uploadFileStream, System.DateTime mTime = null, long size = null, byte md5Checksum = null, byte sha1Checksum = null, byte sha256Checksum = null, bool indexZip = null ) : bool
path string
uploadFileStream Stream
mTime System.DateTime
size long
md5Checksum byte
sha1Checksum byte
sha256Checksum byte
indexZip bool
리턴 bool