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
Type2Message.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Text
;
3
4
namespace
Mono.Security.Protocol.Ntlm
5
{
6
// Token: 0x02000040 RID: 64
7
public
class
Type2Message
:
MessageBase
8
{
9
// Token: 0x060001D7 RID: 471 RVA: 0x0000855C File Offset: 0x0000675C
10
public
Type2Message
(
byte
[] message)
11
{
12
if
(!
true
)
13
{
14
}
15
base
..ctor();
16
this._type
= 2;
17
}
18
19
// Token: 0x060001D8 RID: 472 RVA: 0x0000857C File Offset: 0x0000677C
20
protected
override
void
Finalize
()
21
{
22
if
(this.
_nonce
!=
null
)
23
{
24
}
25
base
.Finalize();
26
}
27
28
// Token: 0x17000088 RID: 136
29
// (get) Token: 0x060001D9 RID: 473 RVA: 0x000085B8 File Offset: 0x000067B8
30
public
byte
[]
Nonce
31
{
32
get
33
{
34
byte
[]
nonce
= this.
_nonce
;
35
object
obj
;
36
if
(obj ==
null
||
obj
!=
null
)
37
{
38
}
39
throw
new
InvalidCastException
();
40
}
41
}
42
43
// Token: 0x17000089 RID: 137
44
// (get) Token: 0x060001DA RID: 474 RVA: 0x000085D8 File Offset: 0x000067D8
45
public
string
TargetName
46
{
47
get
48
{
49
return
this.
_targetName
;
50
}
51
}
52
53
// Token: 0x1700008A RID: 138
54
// (get) Token: 0x060001DB RID: 475 RVA: 0x000085EC File Offset: 0x000067EC
55
public
byte
[]
TargetInfo
56
{
57
get
58
{
59
byte
[]
targetInfo
= this.
_targetInfo
;
60
object
obj
;
61
if
(obj ==
null
||
obj
!=
null
)
62
{
63
}
64
throw
new
InvalidCastException
();
65
}
66
}
67
68
// Token: 0x060001DC RID: 476 RVA: 0x0000860C File Offset: 0x0000680C
69
protected
override
void
Decode
(
byte
[] message)
70
{
71
base
.Decode(message);
72
uint num =
BitConverterLE
.
ToUInt32
(message, 20);
73
byte
[]
nonce
= this.
_nonce
;
74
this._flags
= (
NtlmFlags
)num;
75
long
num2
= 0
L
;
76
Buffer
.
BlockCopy
(message, 24,
nonce
, (
int
)
num2
, 8);
77
ushort
num3
=
BitConverterLE
.
ToUInt16
(message, 12);
78
ushort
num4
=
BitConverterLE
.
ToUInt16
(message, 16);
79
NtlmFlags
flags = this.
_flags
;
80
Encoding
unicode
=
Encoding
.
Unicode
;
81
}
82
83
// Token: 0x060001DD RID: 477 RVA: 0x00008694 File Offset: 0x00006894
84
public
override
byte
[]
GetBytes
()
85
{
86
byte
[]
array
=
base
.PrepareMessage(40);
87
NtlmFlags
flags = this.
_flags
;
88
NtlmFlags
flags2
= this.
_flags
;
89
byte
[]
nonce
= this.
_nonce
;
90
return
array
;
91
}
92
93
// Token: 0x040000EB RID: 235
94
private
byte
[]
_nonce
;
95
96
// Token: 0x040000EC RID: 236
97
private
string
_targetName
;
98
99
// Token: 0x040000ED RID: 237
100
private
byte
[]
_targetInfo
;
101
}
102
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Mono.Security.BitConverterLE.ToUInt32
static uint ToUInt32(byte[] value, int startIndex)
Definition
BitConverterLE.cs:70
Mono.Security.BitConverterLE.ToUInt16
static ushort ToUInt16(byte[] value, int startIndex)
Definition
BitConverterLE.cs:64
Mono.Security.BitConverterLE
Definition
BitConverterLE.cs:8
Mono.Security.Protocol.Ntlm.MessageBase._flags
NtlmFlags _flags
Definition
MessageBase.cs:134
Mono.Security.Protocol.Ntlm.MessageBase
Definition
MessageBase.cs:7
Mono.Security.Protocol.Ntlm.Type2Message.Decode
override void Decode(byte[] message)
Definition
Type2Message.cs:69
Mono.Security.Protocol.Ntlm.Type2Message.TargetInfo
byte[] TargetInfo
Definition
Type2Message.cs:56
Mono.Security.Protocol.Ntlm.Type2Message.TargetName
string TargetName
Definition
Type2Message.cs:46
Mono.Security.Protocol.Ntlm.Type2Message.Nonce
byte[] Nonce
Definition
Type2Message.cs:31
Mono.Security.Protocol.Ntlm.Type2Message.Finalize
override void Finalize()
Definition
Type2Message.cs:20
Mono.Security.Protocol.Ntlm.Type2Message._targetName
string _targetName
Definition
Type2Message.cs:97
Mono.Security.Protocol.Ntlm.Type2Message.GetBytes
override byte[] GetBytes()
Definition
Type2Message.cs:84
Mono.Security.Protocol.Ntlm.Type2Message._targetInfo
byte[] _targetInfo
Definition
Type2Message.cs:100
Mono.Security.Protocol.Ntlm.Type2Message.Type2Message
Type2Message(byte[] message)
Definition
Type2Message.cs:10
Mono.Security.Protocol.Ntlm.Type2Message._nonce
byte[] _nonce
Definition
Type2Message.cs:94
Mono.Security.Protocol.Ntlm.Type2Message
Definition
Type2Message.cs:8
System.Buffer.BlockCopy
static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
Definition
Buffer.cs:60
System.Buffer
Definition
Buffer.cs:11
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Text.Encoding.Unicode
static Encoding Unicode
Definition
Encoding.cs:799
System.Text.Encoding
Definition
Encoding.cs:15
Mono.Security.Protocol.Ntlm.NtlmFlags
NtlmFlags
Definition
NtlmFlags.cs:8
Mono.Security.Protocol.Ntlm
Definition
ChallengeResponse.cs:7
System.Text
Definition
ASCIIEncoding.cs:7
System.ExceptionArgument.obj
@ obj
System.ExceptionArgument.array
@ array
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
Mono.Security
Mono
Security
Protocol
Ntlm
Type2Message.cs
Generated by
1.10.0