Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ExtendedProtectionPolicy.cs
Go to the documentation of this file.
3using System.Text;
4
6
8{
10
12
14
16
18
20
22
24
25 public static bool OSSupportsExtendedProtection => true;
26
41
46
61
67
72
77
78 public override string ToString()
79 {
81 stringBuilder.Append("ProtectionScenario=");
86 stringBuilder3.Append(ref handler);
87 stringBuilder.Append("; PolicyEnforcement=");
93 stringBuilder.Append("; CustomChannelBinding=");
94 if (_customChannelBinding == null)
95 {
96 stringBuilder.Append("<null>");
97 }
98 else
99 {
100 stringBuilder.Append(_customChannelBinding.ToString());
101 }
102 stringBuilder.Append("; ServiceNames=");
103 if (_customServiceNames == null)
104 {
105 stringBuilder.Append("<null>");
106 }
107 else
108 {
109 bool flag = true;
110 foreach (string customServiceName in _customServiceNames)
111 {
112 if (flag)
113 {
114 flag = false;
115 }
116 else
117 {
118 stringBuilder.Append(", ");
119 }
121 }
122 }
123 return stringBuilder.ToString();
124 }
125}
static string security_ExtendedProtectionPolicy_UseDifferentConstructorForNever
Definition SR.cs:106
static string security_ExtendedProtectionPolicy_NoEmptyServiceNameCollection
Definition SR.cs:108
Definition SR.cs:7
ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, ChannelBinding customChannelBinding)
ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, ProtectionScenario protectionScenario, ICollection? customServiceNames)
ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, ProtectionScenario protectionScenario, ServiceNameCollection? customServiceNames)
void GetObjectData(SerializationInfo info, StreamingContext context)