Exception while acessing SFTP site: The requested name is valid, but no data of the requested type was found
===

I am newbie to C# and I am trying to accessing the SFTP using C# (Getting some code from internet). I tried this by writing below code. But I am getting exception as:

    IPHostEntry hostInfo = Dns.GetHostByName(@"sftp://........");
    // Get the IP address list that resolves to the host names contained in the 
    // Alias property.
    IPAddress[] address = hostInfo.AddressList;
    // Get the alias names of the addresses in the IP address list.

"SocketException was caught: The requested name is valid, but no data of the requested type was found"

I found a lot about this but failed to understand. Also I tried to connect the SFTP using [Tamir.SharpSSH][1] library but getting the same exceptions.


  [1]: http://www.tamirgal.com/blog/page/SharpSSH.aspx

Please suggest some solution over it. I need this in my project.

Thanks