You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UriSchemeTelnet = "telnet" might be considered for interaction with legacy systems.
Proposal
Extend the list of well-known Uri schemes with more commonly used schemes.
namespaceSystem{publicclassUri{// ExistingpublicstaticreadonlystringUriSchemeFile;publicstaticreadonlystringUriSchemeFtp;publicstaticreadonlystringUriSchemeGopher;publicstaticreadonlystringUriSchemeHttp;publicstaticreadonlystringUriSchemeHttps;publicstaticreadonlystringUriSchemeMailto;publicstaticreadonlystringUriSchemeNews;publicstaticreadonlystringUriSchemeNntp;publicstaticreadonlystringUriSchemeNetTcp;publicstaticreadonlystringUriSchemeNetPipe;// ProposedpublicstaticreadonlystringUriSchemeWs;publicstaticreadonlystringUriSchemeWss;publicstaticreadonlystringUriSchemeSsh;publicstaticreadonlystringUriSchemeTelnet;publicstaticreadonlystringUriSchemeSftp;// SSH File Transfer ProtocolpublicstaticreadonlystringUriSchemeFtps;// FTP over SSL}}
Currently, the
System.Uriclass has static fields for the Scheme part of a URI of common protocols:UriSchemeFileUriSchemeFtpUriSchemeGopherUriSchemeHttpUriSchemeHttpsUriSchemeMailtoUriSchemeNetPipeUriSchemeNetTcpUriSchemeNewsUriSchemeNntpI, however, think that this list is out of date and that the following URI Schemes would be a good addition for the .NET 5 era:
UriSchemeSsh = "ssh"for secure shell access.UriSchemeFtps = "ftps"andUriSchemeSftp = "sftp"for secure filetransfer.UriSchemeWs = "ws"andUriSchemeWss = "wss"for (secure) websockets.UriSchemeTelnet = "telnet"might be considered for interaction with legacy systems.Proposal
Extend the list of well-known Uri schemes with more commonly used schemes.