Delete() public method

Permanently deletes a file on remote machine.
public Delete ( ) : void
return void
コード例 #1
0
ファイル: SftpFileTest.cs プロジェクト: pecegit/sshnet
 public void DeleteTest()
 {
     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
     target.Delete();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }