Remove #if NET45s for IPAddress, X509Certificate.
This commit is contained in:
parent
03b089abe0
commit
28fbacc7f4
|
|
@ -1,15 +1,11 @@
|
|||
#if NET45
|
||||
using System.Net;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.AspNet.HttpFeature
|
||||
{
|
||||
public interface IHttpConnection
|
||||
{
|
||||
#if NET45
|
||||
IPAddress RemoteIpAddress { get; set; }
|
||||
IPAddress LocalIpAddress { get; set; }
|
||||
#endif
|
||||
int RemotePort { get; set; }
|
||||
int LocalPort { get; set; }
|
||||
bool IsLocal { get; set; }
|
||||
|
|
|
|||
|
|
@ -1,15 +1,12 @@
|
|||
#if NET45
|
||||
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
#endif
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNet.HttpFeature
|
||||
{
|
||||
public interface IHttpTransportLayerSecurity
|
||||
{
|
||||
#if NET45
|
||||
X509Certificate ClientCertificate { get; set; }
|
||||
#endif
|
||||
Task LoadAsync();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,9 +5,11 @@
|
|||
"k10": {
|
||||
"dependencies": {
|
||||
"System.IO": "4.0.0.0",
|
||||
"System.Net.Primitives": "4.0.10.0",
|
||||
"System.Runtime": "4.0.20.0",
|
||||
"System.Runtime.InteropServices": "4.0.20.0",
|
||||
"System.Security.Claims": "0.1-alpha-*",
|
||||
"System.Security.Cryptography.X509Certificates": "4.0.0.0",
|
||||
"System.Security.Principal": "4.0.0.0",
|
||||
"System.Threading.Tasks": "4.0.10.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue