oh dear
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
// Token: 0x020002FF RID: 767
|
||||
[Token(Token = "0x20002FF")]
|
||||
internal abstract class CommonUnixIPGlobalProperties : IPGlobalProperties
|
||||
{
|
||||
// Token: 0x06001468 RID: 5224
|
||||
[Token(Token = "0x6001468")]
|
||||
[Address(RVA = "0x2226D60", Offset = "0x2225B60", VA = "0x182226D60")]
|
||||
private static extern int getdomainname(byte[] name, int len);
|
||||
|
||||
// Token: 0x17000423 RID: 1059
|
||||
// (get) Token: 0x06001469 RID: 5225 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000423")]
|
||||
public override string DomainName
|
||||
{
|
||||
[Token(Token = "0x6001469")]
|
||||
[Address(RVA = "0x2226BE0", Offset = "0x22259E0", VA = "0x182226BE0", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600146A RID: 5226 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x600146A")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected CommonUnixIPGlobalProperties()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
/// <summary>Provides information about the network connectivity of the local computer.</summary>
|
||||
// Token: 0x020002FB RID: 763
|
||||
[Token(Token = "0x20002FB")]
|
||||
public abstract class IPGlobalProperties
|
||||
{
|
||||
// Token: 0x17000420 RID: 1056
|
||||
// (get) Token: 0x06001460 RID: 5216 RVA: 0x00009348 File Offset: 0x00007548
|
||||
[Token(Token = "0x17000420")]
|
||||
private static bool PlatformNeedsLibCWorkaround
|
||||
{
|
||||
[Token(Token = "0x6001460")]
|
||||
[Address(RVA = "0x2228E70", Offset = "0x2227C70", VA = "0x182228E70")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets an object that provides information about the local computer's network connectivity and traffic statistics.</summary>
|
||||
/// <returns>A <see cref="T:System.Net.NetworkInformation.IPGlobalProperties" /> object that contains information about the local computer.</returns>
|
||||
// Token: 0x06001461 RID: 5217 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001461")]
|
||||
[Address(RVA = "0x2228D70", Offset = "0x2227B70", VA = "0x182228D70")]
|
||||
public static IPGlobalProperties GetIPGlobalProperties()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001462 RID: 5218 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001462")]
|
||||
[Address(RVA = "0x2228D70", Offset = "0x2227B70", VA = "0x182228D70")]
|
||||
internal static IPGlobalProperties InternalGetIPGlobalProperties()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets the domain in which the local computer is registered.</summary>
|
||||
/// <returns>A <see cref="T:System.String" /> instance that contains the computer's domain name. If the computer does not belong to a domain, returns <see cref="F:System.String.Empty" />.</returns>
|
||||
/// <exception cref="T:System.Net.NetworkInformation.NetworkInformationException">A Win32 function call failed.</exception>
|
||||
// Token: 0x17000421 RID: 1057
|
||||
// (get) Token: 0x06001463 RID: 5219
|
||||
[Token(Token = "0x17000421")]
|
||||
public abstract string DomainName
|
||||
{
|
||||
[Token(Token = "0x6001463")]
|
||||
[Address(Slot = "4")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.IPGlobalProperties" /> class.</summary>
|
||||
// Token: 0x06001464 RID: 5220 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001464")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected IPGlobalProperties()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
// Token: 0x02000302 RID: 770
|
||||
[Token(Token = "0x2000302")]
|
||||
internal class MibIPGlobalProperties : UnixIPGlobalProperties
|
||||
{
|
||||
// Token: 0x0600146E RID: 5230 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x600146E")]
|
||||
[Address(RVA = "0x222E1D0", Offset = "0x222CFD0", VA = "0x18222E1D0")]
|
||||
public MibIPGlobalProperties(string procDir)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CE9 RID: 3305
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000CE9")]
|
||||
public readonly string StatisticsFile;
|
||||
|
||||
// Token: 0x04000CEA RID: 3306
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000CEA")]
|
||||
public readonly string StatisticsFileIPv6;
|
||||
|
||||
// Token: 0x04000CEB RID: 3307
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000CEB")]
|
||||
public readonly string TcpFile;
|
||||
|
||||
// Token: 0x04000CEC RID: 3308
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000CEC")]
|
||||
public readonly string Tcp6File;
|
||||
|
||||
// Token: 0x04000CED RID: 3309
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000CED")]
|
||||
public readonly string UdpFile;
|
||||
|
||||
// Token: 0x04000CEE RID: 3310
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000CEE")]
|
||||
public readonly string Udp6File;
|
||||
|
||||
// Token: 0x04000CEF RID: 3311
|
||||
[Token(Token = "0x4000CEF")]
|
||||
private static readonly char[] wsChars;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
/// <summary>Specifies the Network Basic Input/Output System (NetBIOS) node type.</summary>
|
||||
// Token: 0x020002FE RID: 766
|
||||
[Token(Token = "0x20002FE")]
|
||||
public enum NetBiosNodeType
|
||||
{
|
||||
/// <summary>An unknown node type.</summary>
|
||||
// Token: 0x04000CE4 RID: 3300
|
||||
[Token(Token = "0x4000CE4")]
|
||||
Unknown,
|
||||
/// <summary>A broadcast node.</summary>
|
||||
// Token: 0x04000CE5 RID: 3301
|
||||
[Token(Token = "0x4000CE5")]
|
||||
Broadcast,
|
||||
/// <summary>A peer-to-peer node.</summary>
|
||||
// Token: 0x04000CE6 RID: 3302
|
||||
[Token(Token = "0x4000CE6")]
|
||||
Peer2Peer,
|
||||
/// <summary>A mixed node.</summary>
|
||||
// Token: 0x04000CE7 RID: 3303
|
||||
[Token(Token = "0x4000CE7")]
|
||||
Mixed = 4,
|
||||
/// <summary>A hybrid node.</summary>
|
||||
// Token: 0x04000CE8 RID: 3304
|
||||
[Token(Token = "0x4000CE8")]
|
||||
Hybrid = 8
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
/// <summary>The exception that is thrown when an error occurs while retrieving network information.</summary>
|
||||
// Token: 0x020002FC RID: 764
|
||||
[Token(Token = "0x20002FC")]
|
||||
[Serializable]
|
||||
public class NetworkInformationException : Win32Exception
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> class.</summary>
|
||||
// Token: 0x06001465 RID: 5221 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001465")]
|
||||
[Address(RVA = "0x22314D0", Offset = "0x22302D0", VA = "0x1822314D0")]
|
||||
public NetworkInformationException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> class with serialized data.</summary>
|
||||
/// <param name="serializationInfo">A SerializationInfo object that contains the serialized exception data.</param>
|
||||
/// <param name="streamingContext">A StreamingContext that contains contextual information about the serialized exception.</param>
|
||||
// Token: 0x06001466 RID: 5222 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001466")]
|
||||
[Address(RVA = "0x2231560", Offset = "0x2230360", VA = "0x182231560")]
|
||||
protected NetworkInformationException(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see langword="Win32" /> error code for this exception.</summary>
|
||||
/// <returns>An <see cref="T:System.Int32" /> value that contains the <see langword="Win32" /> error code.</returns>
|
||||
// Token: 0x17000422 RID: 1058
|
||||
// (get) Token: 0x06001467 RID: 5223 RVA: 0x00009360 File Offset: 0x00007560
|
||||
[Token(Token = "0x17000422")]
|
||||
public override int ErrorCode
|
||||
{
|
||||
[Token(Token = "0x6001467")]
|
||||
[Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
/// <summary>Specifies the Internet Protocol versions that are supported by a network interface.</summary>
|
||||
// Token: 0x020002FD RID: 765
|
||||
[Token(Token = "0x20002FD")]
|
||||
public enum NetworkInterfaceComponent
|
||||
{
|
||||
/// <summary>Internet Protocol version 4.</summary>
|
||||
// Token: 0x04000CE1 RID: 3297
|
||||
[Token(Token = "0x4000CE1")]
|
||||
IPv4,
|
||||
/// <summary>Internet Protocol version 6.</summary>
|
||||
// Token: 0x04000CE2 RID: 3298
|
||||
[Token(Token = "0x4000CE2")]
|
||||
IPv6
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
// Token: 0x02000300 RID: 768
|
||||
[Token(Token = "0x2000300")]
|
||||
internal class UnixIPGlobalProperties : CommonUnixIPGlobalProperties
|
||||
{
|
||||
// Token: 0x0600146B RID: 5227 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x600146B")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public UnixIPGlobalProperties()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
// Token: 0x02000301 RID: 769
|
||||
[Token(Token = "0x2000301")]
|
||||
internal sealed class UnixNoLibCIPGlobalProperties : UnixIPGlobalProperties
|
||||
{
|
||||
// Token: 0x17000424 RID: 1060
|
||||
// (get) Token: 0x0600146C RID: 5228 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000424")]
|
||||
public override string DomainName
|
||||
{
|
||||
[Token(Token = "0x600146C")]
|
||||
[Address(RVA = "0x223F3E0", Offset = "0x223E1E0", VA = "0x18223F3E0", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600146D RID: 5229 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x600146D")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public UnixNoLibCIPGlobalProperties()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
// Token: 0x02000303 RID: 771
|
||||
[Token(Token = "0x2000303")]
|
||||
internal class Win32IPGlobalProperties : IPGlobalProperties
|
||||
{
|
||||
// Token: 0x17000425 RID: 1061
|
||||
// (get) Token: 0x06001470 RID: 5232 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000425")]
|
||||
public override string DomainName
|
||||
{
|
||||
[Token(Token = "0x6001470")]
|
||||
[Address(RVA = "0x223F420", Offset = "0x223E220", VA = "0x18223F420", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001471 RID: 5233 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001471")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public Win32IPGlobalProperties()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
// Token: 0x02000304 RID: 772
|
||||
[Token(Token = "0x2000304")]
|
||||
internal class Win32NetworkInterface
|
||||
{
|
||||
// Token: 0x06001472 RID: 5234
|
||||
[Token(Token = "0x6001472")]
|
||||
[Address(RVA = "0x223F620", Offset = "0x223E420", VA = "0x18223F620")]
|
||||
private static extern int GetNetworkParams(IntPtr ptr, ref int size);
|
||||
|
||||
// Token: 0x17000426 RID: 1062
|
||||
// (get) Token: 0x06001473 RID: 5235 RVA: 0x00009378 File Offset: 0x00007578
|
||||
[Token(Token = "0x17000426")]
|
||||
public static Win32_FIXED_INFO FixedInfo
|
||||
{
|
||||
[Token(Token = "0x6001473")]
|
||||
[Address(RVA = "0x223F6B0", Offset = "0x223E4B0", VA = "0x18223F6B0")]
|
||||
get
|
||||
{
|
||||
return default(Win32_FIXED_INFO);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000CF0 RID: 3312
|
||||
[Token(Token = "0x4000CF0")]
|
||||
private static Win32_FIXED_INFO fixedInfo;
|
||||
|
||||
// Token: 0x04000CF1 RID: 3313
|
||||
[Token(Token = "0x4000CF1")]
|
||||
private static bool initialized;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
// Token: 0x02000305 RID: 773
|
||||
[Token(Token = "0x2000305")]
|
||||
internal struct Win32_FIXED_INFO
|
||||
{
|
||||
// Token: 0x04000CF2 RID: 3314
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CF2")]
|
||||
public string HostName;
|
||||
|
||||
// Token: 0x04000CF3 RID: 3315
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4000CF3")]
|
||||
public string DomainName;
|
||||
|
||||
// Token: 0x04000CF4 RID: 3316
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000CF4")]
|
||||
public IntPtr CurrentDnsServer;
|
||||
|
||||
// Token: 0x04000CF5 RID: 3317
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000CF5")]
|
||||
public Win32_IP_ADDR_STRING DnsServerList;
|
||||
|
||||
// Token: 0x04000CF6 RID: 3318
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000CF6")]
|
||||
public NetBiosNodeType NodeType;
|
||||
|
||||
// Token: 0x04000CF7 RID: 3319
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000CF7")]
|
||||
public string ScopeId;
|
||||
|
||||
// Token: 0x04000CF8 RID: 3320
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000CF8")]
|
||||
public uint EnableRouting;
|
||||
|
||||
// Token: 0x04000CF9 RID: 3321
|
||||
[FieldOffset(Offset = "0x4C")]
|
||||
[Token(Token = "0x4000CF9")]
|
||||
public uint EnableProxy;
|
||||
|
||||
// Token: 0x04000CFA RID: 3322
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4000CFA")]
|
||||
public uint EnableDns;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
// Token: 0x02000306 RID: 774
|
||||
[Token(Token = "0x2000306")]
|
||||
internal struct Win32_IP_ADDR_STRING
|
||||
{
|
||||
// Token: 0x04000CFB RID: 3323
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CFB")]
|
||||
public IntPtr Next;
|
||||
|
||||
// Token: 0x04000CFC RID: 3324
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4000CFC")]
|
||||
public string IpAddress;
|
||||
|
||||
// Token: 0x04000CFD RID: 3325
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000CFD")]
|
||||
public string IpMask;
|
||||
|
||||
// Token: 0x04000CFE RID: 3326
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000CFE")]
|
||||
public uint Context;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user