Definitive list of protocols supported by the WebClient and WebRequest classes.

Posted by the-locster on Stack Overflow See other posts from Stack Overflow or by the-locster
Published on 2009-08-12T15:05:32Z Indexed on 2010/05/30 6:02 UTC
Read the original article Hit count: 239

Filed under:

The docs state:

From WebRequest.Create Method

The .NET Framework includes support for the http://, https://, and file:// URI schemes. Custom WebRequest descendants to handle other requests are registered with the RegisterPrefix method.

However I've also been using this class to get files via ftp (not listed in the docs). Is there a definitive list of supported protocols documented anywhere?

UPDATE: To clarify. Yes additional protocols can be plugged-in, but what is the standard/baseline set of protocols supported in the class framework assuming I haven't registered any others. e.g. sftp, tftp?

© Stack Overflow or respective owner

Related posts about .NET