SetPermissions() public méthode

Sets file permissions.
public SetPermissions ( short mode ) : void
mode short The mode.
Résultat void
Exemple #1
0
 public void SetPermissionsTest()
 {
     SftpSession sftpSession = null; // TODO: Initialize to an appropriate value
     string fullName = string.Empty; // TODO: Initialize to an appropriate value
     SftpFileAttributes attributes = null; // TODO: Initialize to an appropriate value
     SftpFile target = new SftpFile(sftpSession, fullName, attributes); // TODO: Initialize to an appropriate value
     short mode = 0; // TODO: Initialize to an appropriate value
     target.SetPermissions(mode);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }