[Mono-dev] [PATCH] System.Net.NetworkInformation
Jae Stutzman
jaebird at gmail.com
Wed Jul 25 13:44:11 EDT 2007
Ok, here is the patch for the System.Net.NetInformation.PhysicalAddress.
This is a big rewrite from the one revision 82491. I've also included a unit
test class (as there wasn't one) which passes all tests in both .NET 2.0 and
the patched version of PhysicalAddress. During the testing I found some
interesting MS behavior which is documented in the asserts of the test (the
tests can be refactored if needed, i ran out of time). For what it is worth
the GetHashCode also returns the same value in both .NET and the patched
file.
Cheers,
Jae
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070725/33dcc324/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: physicaladdress.patch
Type: text/x-patch
Size: 3476 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070725/33dcc324/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PhysicalAddressTest.cs
Type: text/x-csharp
Size: 3346 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070725/33dcc324/attachment-0001.bin
More information about the Mono-devel-list
mailing list