Remove #if NET45s for IPAddress, X509Certificate.

This commit is contained in:
Chris Ross 2014-04-16 09:17:37 -07:00
parent 03b089abe0
commit 28fbacc7f4
3 changed files with 3 additions and 8 deletions

View File

@ -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; }

View File

@ -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();
}
}

View File

@ -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"
}