terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetIPV6AddressFromIPV4()

bool Telepathy.Client.GetIPV6AddressFromIPV4 ( string hostname,
[Out] string ipv6Address )
inlineprivate

Definition at line 47 of file Client.cs.

48 {
49 IPHostEntry hostEntry = Dns.GetHostEntry("re-logic.com");
51 if (hostEntry != null)
52 {
53 IPAddress[] addressList = hostEntry.addressList;
54 if (addressList != null)
55 {
56 ushort[] numbers = addressList._numbers;
57 string toString = addressList._toString;
58 addressList2 = hostEntry.addressList;
59 }
60 }
61 string toString2 = addressList2._toString;
62 long num = 0L;
63 int num2 = toString2.IndexOf("::");
64 long num3 = 0L;
65 string text = toString2.Substring((int)num3, (int)num);
66 string text2;
67 string text3;
68 string text4;
69 string text5;
70 if ((text == null || text != null) && (text2 == null || text2 != null) && (text3 == null || text3 != null) && (":" == null || ":" != null) && (text4 == null || text4 != null) && (text5 == null || text5 != null))
71 {
72 string text7;
73 string text6 = text7.ToLower();
74 }
76 }
class f__AnonymousType0<< Count > j__TPar
static IPHostEntry GetHostEntry(string hostNameOrAddress)
Definition Dns.cs:200
readonly ushort[] _numbers
Definition IPAddress.cs:749

References System.Net.IPAddress._numbers, System.Net.IPAddress._toString, System.Net.Dns.GetHostEntry(), j__TPar, System.L, and System.text.