using System; namespace System.Net { /// Container class for , , and classes. This class cannot be inherited // Token: 0x02000270 RID: 624 public static class WebRequestMethods { /// Represents the types of file protocol methods that can be used with a FILE request. This class cannot be inherited. // Token: 0x02000271 RID: 625 public static class File { /// Represents the FILE GET protocol method that is used to retrieve a file from a specified location. // Token: 0x04001288 RID: 4744 public const string DownloadFile = "GET"; /// Represents the FILE PUT protocol method that is used to copy a file to a specified location. // Token: 0x04001289 RID: 4745 public const string UploadFile = "PUT"; } /// Represents the types of FTP protocol methods that can be used with an FTP request. This class cannot be inherited. // Token: 0x02000272 RID: 626 public static class Ftp { /// Represents the FTP APPE protocol method that is used to append a file to an existing file on an FTP server. // Token: 0x0400128A RID: 4746 public const string AppendFile = "APPE"; /// Represents the FTP DELE protocol method that is used to delete a file on an FTP server. // Token: 0x0400128B RID: 4747 public const string DeleteFile = "DELE"; /// Represents the FTP RETR protocol method that is used to download a file from an FTP server. // Token: 0x0400128C RID: 4748 public const string DownloadFile = "RETR"; /// Represents the FTP SIZE protocol method that is used to retrieve the size of a file on an FTP server. // Token: 0x0400128D RID: 4749 public const string GetFileSize = "SIZE"; /// Represents the FTP MDTM protocol method that is used to retrieve the date-time stamp from a file on an FTP server. // Token: 0x0400128E RID: 4750 public const string GetDateTimestamp = "MDTM"; /// Represents the FTP NLIST protocol method that gets a short listing of the files on an FTP server. // Token: 0x0400128F RID: 4751 public const string ListDirectory = "NLST"; /// Represents the FTP LIST protocol method that gets a detailed listing of the files on an FTP server. // Token: 0x04001290 RID: 4752 public const string ListDirectoryDetails = "LIST"; /// Represents the FTP MKD protocol method creates a directory on an FTP server. // Token: 0x04001291 RID: 4753 public const string MakeDirectory = "MKD"; /// Represents the FTP PWD protocol method that prints the name of the current working directory. // Token: 0x04001292 RID: 4754 public const string PrintWorkingDirectory = "PWD"; /// Represents the FTP RMD protocol method that removes a directory. // Token: 0x04001293 RID: 4755 public const string RemoveDirectory = "RMD"; /// Represents the FTP RENAME protocol method that renames a directory. // Token: 0x04001294 RID: 4756 public const string Rename = "RENAME"; /// Represents the FTP STOR protocol method that uploads a file to an FTP server. // Token: 0x04001295 RID: 4757 public const string UploadFile = "STOR"; /// Represents the FTP STOU protocol that uploads a file with a unique name to an FTP server. // Token: 0x04001296 RID: 4758 public const string UploadFileWithUniqueName = "STOU"; } /// Represents the types of HTTP protocol methods that can be used with an HTTP request. // Token: 0x02000273 RID: 627 public static class Http { /// Represents the HTTP CONNECT protocol method that is used with a proxy that can dynamically switch to tunneling, as in the case of SSL tunneling. // Token: 0x04001297 RID: 4759 public const string Connect = "CONNECT"; /// Represents an HTTP GET protocol method. // Token: 0x04001298 RID: 4760 public const string Get = "GET"; /// Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body. // Token: 0x04001299 RID: 4761 public const string Head = "HEAD"; /// Represents an HTTP MKCOL request that creates a new collection (such as a collection of pages) at the location specified by the request-Uniform Resource Identifier (URI). // Token: 0x0400129A RID: 4762 public const string MkCol = "MKCOL"; /// Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI. // Token: 0x0400129B RID: 4763 public const string Post = "POST"; /// Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. // Token: 0x0400129C RID: 4764 public const string Put = "PUT"; } } }