scripts
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
/// <summary>Provides data for the <see cref="E:System.Net.NetworkInformation.NetworkChange.NetworkAvailabilityChanged" /> event.</summary>
|
||||
// Token: 0x0200019E RID: 414
|
||||
public class NetworkAvailabilityEventArgs : EventArgs
|
||||
{
|
||||
// Token: 0x06000DD5 RID: 3541 RVA: 0x00026D5C File Offset: 0x00024F5C
|
||||
internal NetworkAvailabilityEventArgs(bool available)
|
||||
{
|
||||
this.available = available;
|
||||
}
|
||||
|
||||
/// <summary>Gets the current status of the network connection.</summary>
|
||||
/// <returns>true if the network is available; otherwise, false.</returns>
|
||||
// Token: 0x17000481 RID: 1153
|
||||
// (get) Token: 0x06000DD6 RID: 3542 RVA: 0x00026D6C File Offset: 0x00024F6C
|
||||
public bool IsAvailable
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.available;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000C89 RID: 3209
|
||||
private bool available;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user