File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -173,10 +173,6 @@ public static void ReadFromAppSettings(this ExceptionlessConfiguration config) {
173
173
bool enabled ;
174
174
if ( Boolean . TryParse ( ConfigurationManager . AppSettings [ "Exceptionless:Enabled" ] , out enabled ) )
175
175
config . Enabled = enabled ;
176
-
177
- bool enableSSL ;
178
- if ( Boolean . TryParse ( ConfigurationManager . AppSettings [ "Exceptionless:EnableSSL" ] , out enableSSL ) )
179
- config . EnableSSL = enableSSL ;
180
176
181
177
string serverUrl = ConfigurationManager . AppSettings [ "Exceptionless:ServerUrl" ] ;
182
178
if ( ! String . IsNullOrEmpty ( serverUrl ) )
@@ -195,11 +191,7 @@ public static void ReadFromEnvironmentalVariables(this ExceptionlessConfiguratio
195
191
bool enabled ;
196
192
if ( Boolean . TryParse ( GetEnvironmentalVariable ( "Exceptionless:Enabled" ) , out enabled ) )
197
193
config . Enabled = enabled ;
198
-
199
- bool enableSSL ;
200
- if ( Boolean . TryParse ( GetEnvironmentalVariable ( "Exceptionless:EnableSSL" ) , out enableSSL ) )
201
- config . EnableSSL = enableSSL ;
202
-
194
+
203
195
string serverUrl = GetEnvironmentalVariable ( "Exceptionless:ServerUrl" ) ;
204
196
if ( ! String . IsNullOrEmpty ( serverUrl ) )
205
197
config . ApiKey = serverUrl ;
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ public ExceptionlessAttribute(string apiKey) {
32
32
/// </summary>
33
33
/// ///
34
34
/// <value><c>true</c> to enable SSL; otherwise, <c>false</c>.</value>
35
+ [ ObsoleteAttribute ( "This property will be removed in a future release." ) ]
35
36
public bool EnableSSL { get ; set ; }
36
37
37
38
/// <summary>
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ public string ApiKey {
97
97
/// <summary>
98
98
/// Whether or not the client should use SSL when communicating with the server.
99
99
/// </summary>
100
+ [ ObsoleteAttribute ( "This property will be removed in a future release." ) ]
100
101
public bool EnableSSL { get ; set ; }
101
102
102
103
/// <summary>
You can’t perform that action at this time.
0 commit comments