1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 namespace System.Net.NetworkInformation
6 {
7     public class NetworkAvailabilityEventArgs : EventArgs
8     {
9         private readonly bool _isAvailable;
10 
NetworkAvailabilityEventArgs(bool isAvailable)11         internal NetworkAvailabilityEventArgs(bool isAvailable)
12         {
13             _isAvailable = isAvailable;
14         }
15 
16         public bool IsAvailable
17         {
18             get
19             {
20                 return _isAvailable;
21             }
22         }
23     }
24 }
25