-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ProtectedConfigurationProviderCollection.xml
173 lines (163 loc) · 11.7 KB
/
ProtectedConfigurationProviderCollection.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<Type Name="ProtectedConfigurationProviderCollection" FullName="System.Configuration.ProtectedConfigurationProviderCollection">
<TypeSignature Language="C#" Value="public class ProtectedConfigurationProviderCollection : System.Configuration.Provider.ProviderCollection" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ProtectedConfigurationProviderCollection extends System.Configuration.Provider.ProviderCollection" />
<TypeSignature Language="DocId" Value="T:System.Configuration.ProtectedConfigurationProviderCollection" />
<TypeSignature Language="VB.NET" Value="Public Class ProtectedConfigurationProviderCollection
Inherits ProviderCollection" />
<TypeSignature Language="F#" Value="type ProtectedConfigurationProviderCollection = class
 inherit ProviderCollection" />
<TypeSignature Language="C++ CLI" Value="public ref class ProtectedConfigurationProviderCollection : System::Configuration::Provider::ProviderCollection" />
<AssemblyInfo>
<AssemblyName>System.Configuration</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Configuration.ConfigurationManager</AssemblyName>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeForwardingChain>
<TypeForwarding From="System.Configuration.ConfigurationManager" FromVersion="9.0.0.0" To="System.Configuration" ToVersion="4.0.0.0" FrameworkAlternate="netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
</TypeForwardingChain>
<Base>
<BaseTypeName>System.Configuration.Provider.ProviderCollection</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides a collection of <see cref="T:System.Configuration.ProtectedConfigurationProvider" /> objects.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Configuration.ProtectedConfiguration.Providers%2A> property of the <xref:System.Configuration.ProtectedConfiguration> class is a <xref:System.Configuration.ProtectedConfigurationProviderCollection> collection of all protected-configuration providers available to your application.
You can encrypt sections of a configuration file to protect sensitive information used by your application. This improves security by making unauthorized access difficult, even if an attacker gains access to your configuration file.
The .NET Framework includes two protected configuration providers that can be used to encrypt sections of a configuration file: the <xref:System.Configuration.RsaProtectedConfigurationProvider> class, which uses the <xref:System.Security.Cryptography.RSACryptoServiceProvider> class to encrypt configuration sections, and the <xref:System.Configuration.DpapiProtectedConfigurationProvider> class, which uses the Windows Data Protection API (DPAPI) to encrypt configuration sections.
You might have a requirement to encrypt sensitive information using an algorithm other than the RSA or DPAPI providers. In this case, you can build your own custom protected-configuration provider. The <xref:System.Configuration.ProtectedConfigurationProvider> class is an abstract base class that you must inherit from to create your own protected-configuration provider.
For more information about protected configuration, see [Encrypting Configuration Information Using Protected Configuration](https://learn.microsoft.com/previous-versions/aspnet/53tyfkaw(v=vs.100)).
]]></format>
</remarks>
<altmember cref="T:System.Configuration.ProtectedConfiguration" />
<altmember cref="T:System.Configuration.ProtectedConfigurationProvider" />
<related type="Article" href="https://learn.microsoft.com/previous-versions/aspnet/53tyfkaw(v=vs.100)">Encrypting Configuration Information Using Protected Configuration</related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ProtectedConfigurationProviderCollection ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Configuration.ProtectedConfigurationProviderCollection.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 ProtectedConfigurationProviderCollection();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Configuration</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Configuration.ConfigurationManager</AssemblyName>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Configuration.ProtectedConfigurationProviderCollection" /> class using default settings.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Configuration.ProtectedConfigurationProviderCollection.%23ctor%2A> constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the <xref:System.Configuration.ProtectedConfigurationProviderCollection> class by using the <xref:System.Configuration.ProtectedConfiguration.Providers%2A> property of the <xref:System.Configuration.ProtectedConfiguration> class.
]]></format>
</remarks>
<altmember cref="T:System.Configuration.ProtectedConfiguration" />
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public override void Add (System.Configuration.Provider.ProviderBase provider);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Add(class System.Configuration.Provider.ProviderBase provider) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Configuration.ProtectedConfigurationProviderCollection.Add(System.Configuration.Provider.ProviderBase)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Sub Add (provider As ProviderBase)" />
<MemberSignature Language="F#" Value="override this.Add : System.Configuration.Provider.ProviderBase -> unit" Usage="protectedConfigurationProviderCollection.Add provider" />
<MemberSignature Language="C++ CLI" Value="public:
 override void Add(System::Configuration::Provider::ProviderBase ^ provider);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Configuration</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Configuration.ConfigurationManager</AssemblyName>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="provider" Type="System.Configuration.Provider.ProviderBase" />
</Parameters>
<Docs>
<param name="provider">A <see cref="T:System.Configuration.ProtectedConfigurationProvider" /> object to add to the collection.</param>
<summary>Adds a <see cref="T:System.Configuration.ProtectedConfigurationProvider" /> object to the collection.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="provider" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="provider" /> is not a <see cref="T:System.Configuration.ProtectedConfigurationProvider" /> object.</exception>
<exception cref="T:System.Configuration.ConfigurationException">The <see cref="T:System.Configuration.ProtectedConfigurationProvider" /> object to add already exists in the collection.
-or-
The collection is read-only.</exception>
<altmember cref="T:System.Configuration.ProtectedConfigurationProvider" />
</Docs>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public System.Configuration.ProtectedConfigurationProvider this[string name] { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Configuration.ProtectedConfigurationProvider Item(string)" />
<MemberSignature Language="DocId" Value="P:System.Configuration.ProtectedConfigurationProviderCollection.Item(System.String)" />
<MemberSignature Language="VB.NET" Value="Default Public ReadOnly Property Item(name As String) As ProtectedConfigurationProvider" />
<MemberSignature Language="F#" Value="member this.Item(string) : System.Configuration.ProtectedConfigurationProvider" Usage="System.Configuration.ProtectedConfigurationProviderCollection.Item" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Configuration::ProtectedConfigurationProvider ^ default[System::String ^] { System::Configuration::ProtectedConfigurationProvider ^ get(System::String ^ name); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Configuration</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Configuration.ConfigurationManager</AssemblyName>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Configuration.ProtectedConfigurationProvider</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of a <see cref="T:System.Configuration.ProtectedConfigurationProvider" /> object in the collection.</param>
<summary>Gets a <see cref="T:System.Configuration.ProtectedConfigurationProvider" /> object in the collection with the specified name.</summary>
<value>The <see cref="T:System.Configuration.ProtectedConfigurationProvider" /> object with the specified name, or <see langword="null" /> if there is no object with that name.</value>
<remarks>To be added.</remarks>
<altmember cref="T:System.Configuration.ProtectedConfigurationProvider" />
</Docs>
</Member>
</Members>
</Type>