fixes the https://github.com/dotnet/runtime/issues/48062
authorjaymin suthar <jayminsuthar93@outlook.com>
Mon, 22 Feb 2021 16:03:32 +0000 (21:33 +0530)
committerStephen Toub <stoub@microsoft.com>
Wed, 24 Mar 2021 10:47:48 +0000 (06:47 -0400)
src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/BsdNetworkInterface.cs

index 70d2e37..b5ebbd5 100644 (file)
@@ -158,6 +158,6 @@ namespace System.Net.NetworkInformation
 
         public override bool SupportsMulticast { get { return _supportsMulticast; } }
 
-        public override bool IsReceiveOnly { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
+        public override bool IsReceiveOnly { get { return false; } }
     }
 }