Bagikan melalui


HttpClientConnection100Class.UseSecureConnection Properti

Definisi

Mendapatkan atau mengatur Boolean yang menunjukkan apakah koneksi adalah HTTPS atau HTTP.

public:
 virtual property bool UseSecureConnection { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(24)]
public virtual bool UseSecureConnection { [System.Runtime.InteropServices.DispId(24)] get; [System.Runtime.InteropServices.DispId(24)] set; }
[<System.Runtime.InteropServices.DispId(24)>]
[<get: System.Runtime.InteropServices.DispId(24)>]
[<set: System.Runtime.InteropServices.DispId(24)>]
member this.UseSecureConnection : bool with get, set
Public Overridable Property UseSecureConnection As Boolean

Nilai Properti

Boolean yang menunjukkan apakah koneksi adalah HTTPS atau HTTP. Nilai true berarti bahwa koneksi HTTPS yang aman digunakan. Nilai false berarti bahwa koneksi aman tidak digunakan. Sebagai gantinya, HTTP digunakan.

Penerapan

Atribut

Berlaku untuk