Currently i am using winscp tool in my C# code.
i am using sftp to upload the file to sftp folder.
now i want to write c# code to accept the hostkey for my sftp server.
but it is throwing an error as unknown command.
can any one tell me the the right syntax to write in c# code to accept the hostkey.