Silverlight 5 | WinRT |
public sealed class ConnectionCost | |
: __ComObject, IConnectionCost | |
public virtual Boolean ApproachingDataLimit { get; } | |
public virtual NetworkCostType NetworkCostType { get; } | |
public virtual Boolean OverDataLimit { get; } | |
public virtual Boolean Roaming { get; } |
public sealed class ConnectionProfile | |
: __ComObject, IConnectionProfile | |
public virtual Boolean Connected { get; } | |
public virtual NetworkAdapter NetworkAdapter { get; } | |
public virtual String ProfileName { get; } | |
public virtual ConnectionCost GetConnectionCost(); | |
public virtual DataPlanStatus GetDataPlanStatus(); | |
public virtual DataUsage GetLocalUsage(DateTimeOffset StartTime, DateTimeOffset EndTime); | |
public virtual DataUsage GetLocalUsage(DateTimeOffset StartTime, DateTimeOffset EndTime, RoamingStates States); |
public sealed class DataPlanStatus | |
: __ComObject, IDataPlanStatus | |
public virtual Nullable`1<UInt32> DataLimitInMegabytes { get; } | |
public virtual DataPlanUsage DataPlanUsage { get; } | |
public virtual Nullable`1<UInt64> InboundBitsPerSecond { get; } | |
public virtual Nullable`1<UInt32> MaxDownloadFileSizeInMegabytes { get; } | |
public virtual Nullable`1<DateTimeOffset> NextBillingCycle { get; } | |
public virtual Nullable`1<UInt64> OutboundBitsPerSecond { get; } |
public sealed class DataPlanUsage | |
: __ComObject, IDataPlanUsage | |
public virtual DateTimeOffset LastSyncTime { get; } | |
public virtual UInt32 MegabytesUsed { get; } |
public sealed class DataUsage | |
: __ComObject, IDataUsage | |
public virtual UInt32 BytesReceived { get; } | |
public virtual UInt32 BytesSent { get; } |
public sealed class GetProxyConfigurationOperation | |
: __ComObject, IAsyncOperation`1<ProxyConfiguration>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<ProxyConfiguration> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual ProxyConfiguration GetResults(); | |
public virtual void Start(); |
public sealed class LanIdentifier | |
: __ComObject, ILanIdentifier | |
public virtual LanIdentifierData InfrastructureId { get; } | |
public virtual Guid NetworkAdapterId { get; } | |
public virtual LanIdentifierData PortId { get; } |
public sealed class LanIdentifierData | |
: __ComObject, ILanIdentifierData | |
public virtual UInt32 Type { get; } | |
public virtual IReadOnlyList`1<Byte> Value { get; } |
public sealed class NetworkAdapter | |
: __ComObject, INetworkAdapter | |
public virtual ConnectionProfile ConnectedProfile { get; } | |
public virtual UInt32 IanaInterfaceType { get; } | |
public virtual UInt64 InboundMaxBitsPerSecond { get; } | |
public virtual Guid NetworkAdapterId { get; } | |
public virtual NetworkItem NetworkItem { get; } | |
public virtual UInt64 OutboundMaxBitsPerSecond { get; } |
public sealed enum NetworkCostType | |
: IComparable, IFormattable, IConvertible | |
{ Unknown, Unrestricted, Fixed, Variable } |
public abstract sealed class NetworkInformation | |
: __ComObject | |
static public event NetworkStatusChangedEventHandler NetworkStatusChanged; | |
static public IReadOnlyList`1<ConnectionProfile> GetConnectionProfiles(); | |
static public IReadOnlyList`1<HostName> GetHostNames(); | |
static public ConnectionProfile GetInternetConnectionProfile(); | |
static public IReadOnlyList`1<LanIdentifier> GetLanIdentifiers(); | |
static public GetProxyConfigurationOperation GetProxyConfigurationAsync(Uri uri); |
public sealed class NetworkItem | |
: __ComObject, INetworkItem | |
public virtual Guid NetworkId { get; } | |
public virtual NetworkTypes GetNetworkTypes(); |
public sealed class NetworkStatusChangedEventHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual void Invoke(Object sender); |
public sealed enum NetworkTypes | |
: IComparable, IFormattable, IConvertible | |
{ None, Internet, PrivateNetwork } |
public sealed class ProxyConfiguration | |
: __ComObject, IProxyConfiguration | |
public virtual Boolean CanConnectDirectly { get; } | |
public virtual IReadOnlyList`1<Uri> ProxyUris { get; } |
public sealed enum RoamingStates | |
: IComparable, IFormattable, IConvertible | |
{ None, NotRoaming, Roaming } |