문제

I Have downloaded community edition of OpenNETCF from this link, And Trying to access FTP. But I am not able to find WebRequestMethods class in OpenNETCF.Net or OpenNETCF.Net.Ftp Namespace. Please help and suggest if I am missing something.

도움이 되었습니까?

해결책

The OpenNETCF namespaces don't have the WebRequestmethods.Ftp items. They are simply constant strings, so you could easily create them something like this:

public static class WebRequestMethods
{
    public const string ListDirectoryDetails = "LIST";
    public const string DownloadFile = "RETR";
    // etc.
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top