Exemple #1
0
        public Share CreateShare(string name, string path)
        {
            Share share = new Share();
            share.Name = name;
            share.Path = path;

            Post<Share>("/platform/1/protocols/smb/shares/", share);

            share = GetSMBShare(name)[0];

            return share;
        }
Exemple #2
0
 // move to share class?
 public void ModifyShare(Share share)
 {
     Put<Share>("platform/1/protocols/smb/shares", share);
 }