Commit Graph
6 Commits
Author SHA1 Message Date
Sebastien Pouliot 0da4887478 [System] Exclude LinuxNetworkChange from MONOTOUCH build (since it won't work as the p/invoke are not present) 2014-01-23 16:57:11 -05:00
Aaron Bockover d075623275 bxc#13642: MacNetworkChange: implement using managed code
The previous version used SCNetworkReachability
in C inside libMonoPosixHelper. This was less
than ideal and made it more problematic for
supporting iOS as it doesn't actually link
MPH in.

Rewrite using P/Invokes directly into the
SCNetworkReachability APIs for Mac OS X and
iOS.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=13642
for iOS and Mac OS X.
2013-10-10 12:35:47 -04:00
Aaron Bockover ed5d39b1d7 NetworkChange: Support Mac OS X (bcx#12038)
Refactor System.Net.NetworkingInformation in order
to support multiple "providers"; previously only
Linux was ever supported for this API.

This patch provides basic support for Mac OS X
via the SystemConfiguration framework's
SCNetworkReachability API.

bxc#12038
2013-05-01 17:49:44 -04:00
Gonzalo Paniagua Javier 75d42f19f9 [NetworkInformation] Support network IP/status events
Add support for the events in NetworkChanged (linux-only).
2011-03-27 18:50:35 -04:00
Miguel de Icaza a5bd130af9 2006-03-11 Miguel de Icaza <[email protected]>
* Uri.cs: Pragma disable warning 612 (Obsolete methods are being
	used by us internally).

	Ponder: should we instead move our methods to use new versions of
	the Obsoleted ones?

2006-03-11  Miguel de Icaza  <[email protected]>

	* CodeNamespaceImportCollection.cs: It turns out that a lot of the
	errors flagged with "!" were just missing explicit interface
	implementations.  

	Implement.

2006-03-11  Miguel de Icaza  <[email protected]>

	* CodeDomConfigurationHandler.cs: Comment out unused methods. 

	* TempFileCollection.cs: Implement explicitly some interface
	methods to get rid of the "!" errors on CorCompare.

2006-03-11  Miguel de Icaza  <[email protected]>

	* Queue.cs: Flag as serializable.

	* LinkedList.cs (OnDeserialization): Fix signature. 

	* SortedList.cs: Implement explicitly a few methods that were
	flagged by corcompare. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
	avoid warning.

2006-03-11  Miguel de Icaza  <[email protected]>

	* ConfigurationSettings.cs (ChangeConfigurationSettings): Make
	internal to avoid warnings.  This routine is called from
	System.Web with MethodInfo.Invoke.

2006-03-11  Miguel de Icaza  <[email protected]>

	* DeflateStream.cs: Comment out DllImport that was not being
	used. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* y

	* SerialPort.cs: Remove unused variable (writeBuffer). 

	* SerialPortStream.cs (Dispose): override, not new.

2006-03-11  Miguel de Icaza  <[email protected]>

	* WebClient.cs: Only expose the right methods to avoid warnings. 

	* FtpDataStream.cs (Dispose): Fix signature.

	* FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
	like we are missing features here).

	* IPAddress.cs: Move m_HashCode property to the end, and set
	pragmas to disable warnings.

2006-03-11  Miguel de Icaza  <[email protected]>

	* MailAddress.cs: Comment out unused field to remove warning. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* NetworkChange.cs: Use pragmas to eliminate warnings from events
	that we do not trigger yet.

	This is a candidate for using Aaron's NetworkManager code.  But
	would make us depend on d-bus.

	* NetworkInformationException.cs: Use error_code for ErrorCode,
	instead of NativeErrorCode.   Fixes warning. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* AuthenticatedStream.cs: Fixed normative parameter names (yes, we
	need to do this everywhere one day).

	(Close): actually obey the "leaveInnerStreamOpen" setting from the
	constructor. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* NetworkStream.cs (Dispose): Use the right signature depending on
	the profile being built.

2006-03-11  Miguel de Icaza  <[email protected]>

	* X509Chain.cs: Flagged member as internal to avoid unused warning.

	* X500DistinguishedName.cs: Comment out unused names and move
	temporary unused variables inside the comments that were removed 



svn path=/trunk/mcs/; revision=57836
2006-03-11 19:07:56 +00:00
Gonzalo Paniagua Javier 601398134b 2006-02-24 Gonzalo Paniagua Javier <[email protected]>
* UnicastIPAddressInformation.cs:
	* PingException.cs:
	* TcpConnectionInformation.cs:
	* IPv4InterfaceStatistics.cs:
	* NetworkInformationException.cs:
	* IPAddressInformation.cs:
	* MulticastIPAddressInformationCollection.cs:
	* TcpStatistics.cs:
	* IPGlobalStatistics.cs:
	* NetworkInformationPermission.cs:
	* MulticastIPAddressInformation.cs:
	* IcmpV4Statistics.cs:
	* IcmpV6Statistics.cs:
	* IPv4InterfaceProperties.cs:
	* PhysicalAddress.cs:
	* IPv6InterfaceProperties.cs:
	* GatewayIPAddressInformationCollection.cs:
	* ChangeLog: Modified file.
	* UnicastIPAddressInformationCollection.cs:
	* IPAddressCollection.cs:
	* NetworkInformationPermissionAttribute.cs:
	* Ping.cs:
	* NetworkChange.cs:
	* IPAddressInformationCollection.cs:
	* UdpStatistics.cs:
	* GatewayIPAddressInformation.cs:
	* IPGlobalProperties.cs:
	* IPInterfaceProperties.cs:
	* NetworkInterface.cs: implemented or stubbed out.


svn path=/trunk/mcs/; revision=57264
2006-02-24 22:47:15 +00:00