ProtectedConfiguration.ProtectedDataSectionName Bidang
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Nama bagian data yang dilindungi.
public: System::String ^ ProtectedDataSectionName;
public const string ProtectedDataSectionName;
val mutable ProtectedDataSectionName : string
Public Const ProtectedDataSectionName As String
Nilai Bidang
Contoh
Contoh berikut menunjukkan cara menggunakan ProtectedDataSectionName properti untuk mengambil nama bagian data yang dilindungi.
// Get the protected section name.
string protectedSectionName =
ProtectedConfiguration.ProtectedDataSectionName;
Console.WriteLine(
"Protected section name: {0}",
protectedSectionName);
' Get the Rsa provider name.
Dim protectedSectionName As String = _
ProtectedConfiguration.ProtectedDataSectionName
Console.WriteLine( _
"Protected section name: {0}", protectedSectionName)
Keterangan
Ini adalah variabel string konstan yang berisi nama bagian data yang dilindungi.
Berlaku untuk
Lihat juga
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.