792 lines
28 KiB
C#
792 lines
28 KiB
C#
using System;
|
|
using System.IO;
|
|
using System.Net.Sockets;
|
|
using System.Text;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Implements a File Transfer Protocol (FTP) client.</summary>
|
|
// Token: 0x0200028B RID: 651
|
|
[Token(Token = "0x200028B")]
|
|
public sealed class FtpWebRequest : WebRequest
|
|
{
|
|
// Token: 0x0600106A RID: 4202 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600106A")]
|
|
[Address(RVA = "0xB31F90", Offset = "0xB30F90", VA = "0x180B31F90")]
|
|
internal FtpWebRequest(Uri uri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600106B RID: 4203 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600106B")]
|
|
[Address(RVA = "0xB2E8C0", Offset = "0xB2D8C0", VA = "0x180B2E8C0")]
|
|
private static Exception GetMustImplement()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Always throws a <see cref="T:System.NotSupportedException" />.</summary>
|
|
/// <returns>Always throws a <see cref="T:System.NotSupportedException" />.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">Content type information is not supported for FTP.</exception>
|
|
// Token: 0x1700032A RID: 810
|
|
// (set) Token: 0x0600106C RID: 4204 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700032A")]
|
|
public override string ContentType
|
|
{
|
|
[Token(Token = "0x600106C")]
|
|
[Address(RVA = "0xB32290", Offset = "0xB31290", VA = "0x180B32290", Slot = "16")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that is ignored by the <see cref="T:System.Net.FtpWebRequest" /> class.</summary>
|
|
/// <returns>An <see cref="T:System.Int64" /> value that should be ignored.</returns>
|
|
// Token: 0x1700032B RID: 811
|
|
// (get) Token: 0x0600106D RID: 4205 RVA: 0x00007CE0 File Offset: 0x00005EE0
|
|
// (set) Token: 0x0600106E RID: 4206 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700032B")]
|
|
public override long ContentLength
|
|
{
|
|
[Token(Token = "0x600106D")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "14")]
|
|
get
|
|
{
|
|
return 0L;
|
|
}
|
|
[Token(Token = "0x600106E")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "15")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the credentials used to communicate with the FTP server.</summary>
|
|
/// <returns>An <see cref="T:System.Net.ICredentials" /> instance; otherwise, <see langword="null" /> if the property has not been set.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The value specified for a set operation is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">An <see cref="T:System.Net.ICredentials" /> of a type other than <see cref="T:System.Net.NetworkCredential" /> was specified for a set operation.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">A new value was specified for this property for a request that is already in progress.</exception>
|
|
// Token: 0x1700032C RID: 812
|
|
// (get) Token: 0x0600106F RID: 4207 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001070 RID: 4208 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700032C")]
|
|
public override ICredentials Credentials
|
|
{
|
|
[Token(Token = "0x600106F")]
|
|
[Address(RVA = "0x493640", Offset = "0x492640", VA = "0x180493640", Slot = "17")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001070")]
|
|
[Address(RVA = "0xB322E0", Offset = "0xB312E0", VA = "0x180B322E0", Slot = "18")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a <see cref="T:System.Boolean" /> that specifies that an SSL connection should be used.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if control and data transmissions are encrypted; otherwise, <see langword="false" />. The default value is <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The connection to the FTP server has already been established.</exception>
|
|
// Token: 0x1700032D RID: 813
|
|
// (get) Token: 0x06001071 RID: 4209 RVA: 0x00007CF8 File Offset: 0x00005EF8
|
|
[Token(Token = "0x1700032D")]
|
|
public bool EnableSsl
|
|
{
|
|
[Token(Token = "0x6001071")]
|
|
[Address(RVA = "0x78C650", Offset = "0x78B650", VA = "0x18078C650")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an empty <see cref="T:System.Net.WebHeaderCollection" /> object.</summary>
|
|
/// <returns>An empty <see cref="T:System.Net.WebHeaderCollection" /> object.</returns>
|
|
// Token: 0x1700032E RID: 814
|
|
// (get) Token: 0x06001072 RID: 4210 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001073 RID: 4211 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700032E")]
|
|
[MonoTODO]
|
|
public override WebHeaderCollection Headers
|
|
{
|
|
[Token(Token = "0x6001072")]
|
|
[Address(RVA = "0xB32180", Offset = "0xB31180", VA = "0x180B32180", Slot = "12")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001073")]
|
|
[Address(RVA = "0xB32440", Offset = "0xB31440", VA = "0x180B32440", Slot = "13")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the command to send to the FTP server.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> value that contains the FTP command to send to the server. The default value is <see cref="F:System.Net.WebRequestMethods.Ftp.DownloadFile" />.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">A new value was specified for this property for a request that is already in progress.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The method is invalid.
|
|
/// -or-
|
|
/// The method is not supported.
|
|
/// -or-
|
|
/// Multiple methods were specified.</exception>
|
|
// Token: 0x1700032F RID: 815
|
|
// (get) Token: 0x06001074 RID: 4212 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001075 RID: 4213 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700032F")]
|
|
public override string Method
|
|
{
|
|
[Token(Token = "0x6001074")]
|
|
[Address(RVA = "0x4646B0", Offset = "0x4636B0", VA = "0x1804646B0", Slot = "9")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001075")]
|
|
[Address(RVA = "0xB324A0", Offset = "0xB314A0", VA = "0x180B324A0", Slot = "10")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the proxy used to communicate with the FTP server.</summary>
|
|
/// <returns>An <see cref="T:System.Net.IWebProxy" /> instance responsible for communicating with the FTP server. On .NET Core, its value is <see langword="null" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">This property cannot be set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">A new value was specified for this property for a request that is already in progress.</exception>
|
|
// Token: 0x17000330 RID: 816
|
|
// (get) Token: 0x06001076 RID: 4214 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001077 RID: 4215 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000330")]
|
|
public override IWebProxy Proxy
|
|
{
|
|
[Token(Token = "0x6001076")]
|
|
[Address(RVA = "0x54F060", Offset = "0x54E060", VA = "0x18054F060", Slot = "19")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001077")]
|
|
[Address(RVA = "0xB32600", Offset = "0xB31600", VA = "0x180B32600", Slot = "20")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a time-out when reading from or writing to a stream.</summary>
|
|
/// <returns>The number of milliseconds before the reading or writing times out. The default value is 300,000 milliseconds (5 minutes).</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The request has already been sent.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The value specified for a set operation is less than or equal to zero and is not equal to <see cref="F:System.Threading.Timeout.Infinite" />.</exception>
|
|
// Token: 0x17000331 RID: 817
|
|
// (get) Token: 0x06001078 RID: 4216 RVA: 0x00007D10 File Offset: 0x00005F10
|
|
[Token(Token = "0x17000331")]
|
|
public int ReadWriteTimeout
|
|
{
|
|
[Token(Token = "0x6001078")]
|
|
[Address(RVA = "0x4AF6C0", Offset = "0x4AE6C0", VA = "0x1804AF6C0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the URI requested by this instance.</summary>
|
|
/// <returns>A <see cref="T:System.Uri" /> instance that identifies a resource that is accessed using the File Transfer Protocol.</returns>
|
|
// Token: 0x17000332 RID: 818
|
|
// (get) Token: 0x06001079 RID: 4217 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000332")]
|
|
public override Uri RequestUri
|
|
{
|
|
[Token(Token = "0x6001079")]
|
|
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0", Slot = "11")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Net.ServicePoint" /> object used to connect to the FTP server.</summary>
|
|
/// <returns>A <see cref="T:System.Net.ServicePoint" /> object that can be used to customize connection behavior.</returns>
|
|
// Token: 0x17000333 RID: 819
|
|
// (get) Token: 0x0600107A RID: 4218 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000333")]
|
|
public ServicePoint ServicePoint
|
|
{
|
|
[Token(Token = "0x600107A")]
|
|
[Address(RVA = "0xB321E0", Offset = "0xB311E0", VA = "0x180B321E0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the number of milliseconds to wait for a request.</summary>
|
|
/// <returns>An <see cref="T:System.Int32" /> value that contains the number of milliseconds to wait before a request times out. The default value is <see cref="F:System.Threading.Timeout.Infinite" />.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than zero and is not <see cref="F:System.Threading.Timeout.Infinite" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">A new value was specified for this property for a request that is already in progress.</exception>
|
|
// Token: 0x17000334 RID: 820
|
|
// (get) Token: 0x0600107B RID: 4219 RVA: 0x00007D28 File Offset: 0x00005F28
|
|
[Token(Token = "0x17000334")]
|
|
public override int Timeout
|
|
{
|
|
[Token(Token = "0x600107B")]
|
|
[Address(RVA = "0x4AF6B0", Offset = "0x4AE6B0", VA = "0x1804AF6B0", Slot = "21")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000335 RID: 821
|
|
// (get) Token: 0x0600107C RID: 4220 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000335")]
|
|
private string DataType
|
|
{
|
|
[Token(Token = "0x600107C")]
|
|
[Address(RVA = "0xB32140", Offset = "0xB31140", VA = "0x180B32140")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000336 RID: 822
|
|
// (get) Token: 0x0600107D RID: 4221 RVA: 0x00007D40 File Offset: 0x00005F40
|
|
// (set) Token: 0x0600107E RID: 4222 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000336")]
|
|
private FtpWebRequest.RequestState State
|
|
{
|
|
[Token(Token = "0x600107D")]
|
|
[Address(RVA = "0xB321F0", Offset = "0xB311F0", VA = "0x180B321F0")]
|
|
get
|
|
{
|
|
return FtpWebRequest.RequestState.Before;
|
|
}
|
|
[Token(Token = "0x600107E")]
|
|
[Address(RVA = "0xB32680", Offset = "0xB31680", VA = "0x180B32680")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Terminates an asynchronous FTP operation.</summary>
|
|
// Token: 0x0600107F RID: 4223 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600107F")]
|
|
[Address(RVA = "0xB2D100", Offset = "0xB2C100", VA = "0x180B2D100", Slot = "25")]
|
|
public override void Abort()
|
|
{
|
|
}
|
|
|
|
/// <summary>Begins sending a request and receiving a response from an FTP server asynchronously.</summary>
|
|
/// <param name="callback">An <see cref="T:System.AsyncCallback" /> delegate that references the method to invoke when the operation is complete.</param>
|
|
/// <param name="state">A user-defined object that contains information about the operation. This object is passed to the <paramref name="callback" /> delegate when the operation completes.</param>
|
|
/// <returns>An <see cref="T:System.IAsyncResult" /> instance that indicates the status of the operation.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">
|
|
/// <see cref="M:System.Net.FtpWebRequest.GetResponse" /> or <see cref="M:System.Net.FtpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" /> has already been called for this instance.</exception>
|
|
// Token: 0x06001080 RID: 4224 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001080")]
|
|
[Address(RVA = "0xB2D820", Offset = "0xB2C820", VA = "0x180B2D820", Slot = "23")]
|
|
public override IAsyncResult BeginGetResponse(AsyncCallback callback, object state)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Ends a pending asynchronous operation started with <see cref="M:System.Net.FtpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />.</summary>
|
|
/// <param name="asyncResult">The <see cref="T:System.IAsyncResult" /> that was returned when the operation started.</param>
|
|
/// <returns>A <see cref="T:System.Net.WebResponse" /> reference that contains an <see cref="T:System.Net.FtpWebResponse" /> instance. This object contains the FTP server's response to the request.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="asyncResult" /> was not obtained by calling <see cref="M:System.Net.FtpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">This method was already called for the operation identified by <paramref name="asyncResult" />.</exception>
|
|
/// <exception cref="T:System.Net.WebException">An error occurred using an HTTP proxy.</exception>
|
|
// Token: 0x06001081 RID: 4225 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001081")]
|
|
[Address(RVA = "0xB2E2D0", Offset = "0xB2D2D0", VA = "0x180B2E2D0", Slot = "24")]
|
|
public override WebResponse EndGetResponse(IAsyncResult asyncResult)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the FTP server response.</summary>
|
|
/// <returns>A <see cref="T:System.Net.WebResponse" /> reference that contains an <see cref="T:System.Net.FtpWebResponse" /> instance. This object contains the FTP server's response to the request.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">
|
|
/// <see cref="M:System.Net.FtpWebRequest.GetResponse" /> or <see cref="M:System.Net.FtpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" /> has already been called for this instance.
|
|
/// -or-
|
|
/// An HTTP proxy is enabled, and you attempted to use an FTP command other than <see cref="F:System.Net.WebRequestMethods.Ftp.DownloadFile" />, <see cref="F:System.Net.WebRequestMethods.Ftp.ListDirectory" />, or <see cref="F:System.Net.WebRequestMethods.Ftp.ListDirectoryDetails" />.</exception>
|
|
/// <exception cref="T:System.Net.WebException">
|
|
/// <see cref="P:System.Net.FtpWebRequest.EnableSsl" /> is set to <see langword="true" />, but the server does not support this feature.
|
|
/// -or-
|
|
/// A <see cref="P:System.Net.FtpWebRequest.Timeout" /> was specified and the timeout has expired.</exception>
|
|
// Token: 0x06001082 RID: 4226 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001082")]
|
|
[Address(RVA = "0xB2F140", Offset = "0xB2E140", VA = "0x180B2F140", Slot = "22")]
|
|
public override WebResponse GetResponse()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001083 RID: 4227 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001083")]
|
|
[Address(RVA = "0xB2F180", Offset = "0xB2E180", VA = "0x180B2F180")]
|
|
private ServicePoint GetServicePoint()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001084 RID: 4228 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001084")]
|
|
[Address(RVA = "0xB31240", Offset = "0xB30240", VA = "0x180B31240")]
|
|
private void ResolveHost()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001085 RID: 4229 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001085")]
|
|
[Address(RVA = "0xB30980", Offset = "0xB2F980", VA = "0x180B30980")]
|
|
private void ProcessRequest()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001086 RID: 4230 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001086")]
|
|
[Address(RVA = "0xB316C0", Offset = "0xB306C0", VA = "0x180B316C0")]
|
|
private void SetType()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001087 RID: 4231 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001087")]
|
|
[Address(RVA = "0xB2ED70", Offset = "0xB2DD70", VA = "0x180B2ED70")]
|
|
private string GetRemoteFolderPath(Uri uri)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001088 RID: 4232 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001088")]
|
|
[Address(RVA = "0xB2DAA0", Offset = "0xB2CAA0", VA = "0x180B2DAA0")]
|
|
private void CWDAndSetFileName(Uri uri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001089 RID: 4233 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001089")]
|
|
[Address(RVA = "0xB301A0", Offset = "0xB2F1A0", VA = "0x180B301A0")]
|
|
private void ProcessMethod()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600108A RID: 4234 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600108A")]
|
|
[Address(RVA = "0xB2E050", Offset = "0xB2D050", VA = "0x180B2E050")]
|
|
private void CloseControlConnection()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600108B RID: 4235 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600108B")]
|
|
[Address(RVA = "0xB2E0E0", Offset = "0xB2D0E0", VA = "0x180B2E0E0")]
|
|
internal void CloseDataConnection()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600108C RID: 4236 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600108C")]
|
|
[Address(RVA = "0xB2DFA0", Offset = "0xB2CFA0", VA = "0x180B2DFA0")]
|
|
private void CloseConnection()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600108D RID: 4237 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600108D")]
|
|
[Address(RVA = "0xB30C30", Offset = "0xB2FC30", VA = "0x180B30C30")]
|
|
private void ProcessSimpleMethod()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600108E RID: 4238 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600108E")]
|
|
[Address(RVA = "0xB319F0", Offset = "0xB309F0", VA = "0x180B319F0")]
|
|
private void UploadData()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600108F RID: 4239 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600108F")]
|
|
[Address(RVA = "0xB2E210", Offset = "0xB2D210", VA = "0x180B2E210")]
|
|
private void DownloadData()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001090 RID: 4240 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001090")]
|
|
[Address(RVA = "0xB2DF30", Offset = "0xB2CF30", VA = "0x180B2DF30")]
|
|
private void CheckRequestStarted()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001091 RID: 4241 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001091")]
|
|
[Address(RVA = "0xB2F970", Offset = "0xB2E970", VA = "0x180B2F970")]
|
|
private void OpenControlConnection()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001092 RID: 4242 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001092")]
|
|
[Address(RVA = "0xB2E6F0", Offset = "0xB2D6F0", VA = "0x180B2E6F0")]
|
|
private static string GetInitialPath(FtpStatus status)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001093 RID: 4243 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001093")]
|
|
[Address(RVA = "0xB317F0", Offset = "0xB307F0", VA = "0x180B317F0")]
|
|
private Socket SetupPassiveConnection(string statusDescription, bool ipv6)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001094 RID: 4244 RVA: 0x00007D58 File Offset: 0x00005F58
|
|
[Token(Token = "0x6001094")]
|
|
[Address(RVA = "0xB2E910", Offset = "0xB2D910", VA = "0x180B2E910")]
|
|
private int GetPortV4(string responseString)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001095 RID: 4245 RVA: 0x00007D70 File Offset: 0x00005F70
|
|
[Token(Token = "0x6001095")]
|
|
[Address(RVA = "0xB2EB50", Offset = "0xB2DB50", VA = "0x180B2EB50")]
|
|
private int GetPortV6(string responseString)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001096 RID: 4246 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001096")]
|
|
[Address(RVA = "0xB2E5B0", Offset = "0xB2D5B0", VA = "0x180B2E5B0")]
|
|
private string FormatAddress(IPAddress address, int Port)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001097 RID: 4247 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001097")]
|
|
[Address(RVA = "0xB2E4B0", Offset = "0xB2D4B0", VA = "0x180B2E4B0")]
|
|
private string FormatAddressV6(IPAddress address, int port)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001098 RID: 4248 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001098")]
|
|
[Address(RVA = "0xB2E110", Offset = "0xB2D110", VA = "0x180B2E110")]
|
|
private Exception CreateExceptionFromResponse(FtpStatus status)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001099 RID: 4249 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001099")]
|
|
[Address(RVA = "0xB31630", Offset = "0xB30630", VA = "0x180B31630")]
|
|
internal void SetTransferCompleted()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600109A RID: 4250 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600109A")]
|
|
[Address(RVA = "0xB30180", Offset = "0xB2F180", VA = "0x180B30180")]
|
|
internal void OperationCompleted()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600109B RID: 4251 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600109B")]
|
|
[Address(RVA = "0xB31600", Offset = "0xB30600", VA = "0x180B31600")]
|
|
private void SetCompleteWithError(Exception exc)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600109C RID: 4252 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600109C")]
|
|
[Address(RVA = "0xB2F2B0", Offset = "0xB2E2B0", VA = "0x180B2F2B0")]
|
|
private Socket InitDataConnection()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600109D RID: 4253 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600109D")]
|
|
[Address(RVA = "0xB2FDD0", Offset = "0xB2EDD0", VA = "0x180B2FDD0")]
|
|
private void OpenDataConnection()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600109E RID: 4254 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600109E")]
|
|
[Address(RVA = "0xB2D270", Offset = "0xB2C270", VA = "0x180B2D270")]
|
|
private void Authenticate()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600109F RID: 4255 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600109F")]
|
|
[Address(RVA = "0xB31570", Offset = "0xB30570", VA = "0x180B31570")]
|
|
private FtpStatus SendCommand(string command, params string[] parameters)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060010A0 RID: 4256 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010A0")]
|
|
[Address(RVA = "0xB313D0", Offset = "0xB303D0", VA = "0x180B313D0")]
|
|
private FtpStatus SendCommand(bool waitResponse, string command, params string[] parameters)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060010A1 RID: 4257 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010A1")]
|
|
[Address(RVA = "0xB31590", Offset = "0xB30590", VA = "0x180B31590")]
|
|
internal static FtpStatus ServiceNotAvailable()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060010A2 RID: 4258 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010A2")]
|
|
[Address(RVA = "0xB2EF20", Offset = "0xB2DF20", VA = "0x180B2EF20")]
|
|
internal FtpStatus GetResponseStatus()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060010A3 RID: 4259 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010A3")]
|
|
[Address(RVA = "0xB2F870", Offset = "0xB2E870", VA = "0x180B2F870")]
|
|
private void InitiateSecureConnection(ref Stream stream)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010A4 RID: 4260 RVA: 0x00007D88 File Offset: 0x00005F88
|
|
[Token(Token = "0x60010A4")]
|
|
[Address(RVA = "0xB2DC40", Offset = "0xB2CC40", VA = "0x180B2DC40")]
|
|
internal bool ChangeToSSLSocket(ref Stream stream)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060010A5 RID: 4261 RVA: 0x00007DA0 File Offset: 0x00005FA0
|
|
[Token(Token = "0x60010A5")]
|
|
[Address(RVA = "0xB2F210", Offset = "0xB2E210", VA = "0x180B2F210")]
|
|
private bool InFinalState()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060010A6 RID: 4262 RVA: 0x00007DB8 File Offset: 0x00005FB8
|
|
[Token(Token = "0x60010A6")]
|
|
[Address(RVA = "0xB2F260", Offset = "0xB2E260", VA = "0x180B2F260")]
|
|
private bool InProgress()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060010A7 RID: 4263 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010A7")]
|
|
[Address(RVA = "0xB2DEC0", Offset = "0xB2CEC0", VA = "0x180B2DEC0")]
|
|
internal void CheckIfAborted()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060010A8 RID: 4264 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60010A8")]
|
|
[Address(RVA = "0xB2DE30", Offset = "0xB2CE30", VA = "0x180B2DE30")]
|
|
private void CheckFinalState()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400098A RID: 2442
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400098A")]
|
|
private Uri requestUri;
|
|
|
|
// Token: 0x0400098B RID: 2443
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400098B")]
|
|
private string file_name;
|
|
|
|
// Token: 0x0400098C RID: 2444
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400098C")]
|
|
private ServicePoint servicePoint;
|
|
|
|
// Token: 0x0400098D RID: 2445
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400098D")]
|
|
private Stream origDataStream;
|
|
|
|
// Token: 0x0400098E RID: 2446
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400098E")]
|
|
private Stream dataStream;
|
|
|
|
// Token: 0x0400098F RID: 2447
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400098F")]
|
|
private Stream controlStream;
|
|
|
|
// Token: 0x04000990 RID: 2448
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4000990")]
|
|
private StreamReader controlReader;
|
|
|
|
// Token: 0x04000991 RID: 2449
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4000991")]
|
|
private NetworkCredential credentials;
|
|
|
|
// Token: 0x04000992 RID: 2450
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4000992")]
|
|
private IPHostEntry hostEntry;
|
|
|
|
// Token: 0x04000993 RID: 2451
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4000993")]
|
|
private IPEndPoint localEndPoint;
|
|
|
|
// Token: 0x04000994 RID: 2452
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4000994")]
|
|
private IPEndPoint remoteEndPoint;
|
|
|
|
// Token: 0x04000995 RID: 2453
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4000995")]
|
|
private IWebProxy proxy;
|
|
|
|
// Token: 0x04000996 RID: 2454
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4000996")]
|
|
private int timeout;
|
|
|
|
// Token: 0x04000997 RID: 2455
|
|
[FieldOffset(Offset = "0x9C")]
|
|
[Token(Token = "0x4000997")]
|
|
private int rwTimeout;
|
|
|
|
// Token: 0x04000998 RID: 2456
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4000998")]
|
|
private long offset;
|
|
|
|
// Token: 0x04000999 RID: 2457
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x4000999")]
|
|
private bool binary;
|
|
|
|
// Token: 0x0400099A RID: 2458
|
|
[FieldOffset(Offset = "0xA9")]
|
|
[Token(Token = "0x400099A")]
|
|
private bool enableSsl;
|
|
|
|
// Token: 0x0400099B RID: 2459
|
|
[FieldOffset(Offset = "0xAA")]
|
|
[Token(Token = "0x400099B")]
|
|
private bool usePassive;
|
|
|
|
// Token: 0x0400099C RID: 2460
|
|
[FieldOffset(Offset = "0xAB")]
|
|
[Token(Token = "0x400099C")]
|
|
private bool keepAlive;
|
|
|
|
// Token: 0x0400099D RID: 2461
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x400099D")]
|
|
private string method;
|
|
|
|
// Token: 0x0400099E RID: 2462
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x400099E")]
|
|
private string renameTo;
|
|
|
|
// Token: 0x0400099F RID: 2463
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x400099F")]
|
|
private object locker;
|
|
|
|
// Token: 0x040009A0 RID: 2464
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x40009A0")]
|
|
private FtpWebRequest.RequestState requestState;
|
|
|
|
// Token: 0x040009A1 RID: 2465
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x40009A1")]
|
|
private FtpAsyncResult asyncResult;
|
|
|
|
// Token: 0x040009A2 RID: 2466
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x40009A2")]
|
|
private FtpWebResponse ftpResponse;
|
|
|
|
// Token: 0x040009A3 RID: 2467
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x40009A3")]
|
|
private Stream requestStream;
|
|
|
|
// Token: 0x040009A4 RID: 2468
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x40009A4")]
|
|
private string initial_path;
|
|
|
|
// Token: 0x040009A5 RID: 2469
|
|
[Token(Token = "0x40009A5")]
|
|
private static readonly string[] supportedCommands;
|
|
|
|
// Token: 0x040009A6 RID: 2470
|
|
[FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x40009A6")]
|
|
private Encoding dataEncoding;
|
|
|
|
// Token: 0x0200028C RID: 652
|
|
[Token(Token = "0x200028C")]
|
|
private enum RequestState
|
|
{
|
|
// Token: 0x040009A8 RID: 2472
|
|
[Token(Token = "0x40009A8")]
|
|
Before,
|
|
// Token: 0x040009A9 RID: 2473
|
|
[Token(Token = "0x40009A9")]
|
|
Scheduled,
|
|
// Token: 0x040009AA RID: 2474
|
|
[Token(Token = "0x40009AA")]
|
|
Connecting,
|
|
// Token: 0x040009AB RID: 2475
|
|
[Token(Token = "0x40009AB")]
|
|
Authenticating,
|
|
// Token: 0x040009AC RID: 2476
|
|
[Token(Token = "0x40009AC")]
|
|
OpeningData,
|
|
// Token: 0x040009AD RID: 2477
|
|
[Token(Token = "0x40009AD")]
|
|
TransferInProgress,
|
|
// Token: 0x040009AE RID: 2478
|
|
[Token(Token = "0x40009AE")]
|
|
Finished,
|
|
// Token: 0x040009AF RID: 2479
|
|
[Token(Token = "0x40009AF")]
|
|
Aborted,
|
|
// Token: 0x040009B0 RID: 2480
|
|
[Token(Token = "0x40009B0")]
|
|
Error
|
|
}
|
|
}
|
|
}
|