Bug 30880 - IPv4Mask property produces a Not Implemented Exception
Summary: IPv4Mask property produces a Not Implemented Exception
Status: RESOLVED DUPLICATE of bug 30879
Alias: None
Product: iOS
Classification: Xamarin
Component: BCL Class Libraries ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Marek Safar
URL:
: 27485 ()
Depends on:
Blocks:
 
Reported: 2015-06-07 18:05 UTC by Andrew Page
Modified: 2016-05-25 10:25 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Sample Project Demonstrating issue. Cleaned, packages removed (30.50 KB, application/x-bzip2)
2015-06-07 18:05 UTC, Andrew Page
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 30879

Description Andrew Page 2015-06-07 18:05:14 UTC
Created attachment 11498 [details]
Sample Project Demonstrating issue.   Cleaned, packages removed

Attempting to access the UnicastIPAddressInformation IPv4Mask property produces a Not Implemented Exception

	public void IPV4MaskIssueTest()
		{
			IPAddress mask = null ;
			foreach (NetworkInterface ni in NetworkInterface.GetAllNetworkInterfaces()) {
				foreach (UnicastIPAddressInformation uni in ni.GetIPProperties().UnicastAddresses) {	
					Console.WriteLine("ip mask = {0}", uni.IPv4Mask);
					mask = uni.IPv4Mask;
				}

			}
			Assert.IsNotNull(mask, "mask was not found");

		}
Comment 1 Marek Safar 2015-06-18 11:25:50 UTC
Fixed in master
Comment 2 Shruti 2015-08-05 09:46:23 UTC

*** This bug has been marked as a duplicate of bug 30879 ***
Comment 3 Marek Safar 2016-05-25 10:25:49 UTC
*** Bug 27485 has been marked as a duplicate of this bug. ***