Click here to Skip to main content
15,884,176 members
Articles / Mobile Apps / Windows Mobile

Handling connection notification between a desktop machine and Windows CE based devices

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
14 Jan 2009CPOL4 min read 80.6K   665   53  
This article describes how to get notification when a Windows CE based device is connected or disconnected from a desktop machine.
<?xml version="1.0"?>
<doc>
<assembly>
<name>
WindowsApplication1
</name>
</assembly>
<members>
<member name="M:WindowsApplication1.Form1.btnRegister_Click(System.Object,System.EventArgs)">
	<summary>
 This button click event is used to register the object of IDccManSink for getting the 
 notification of the Connection / Disconnection.
 </summary>
	<param name="sender">The object of the sender.</param>
	<param name="e">Event arguments</param>
</member><member name="M:WindowsApplication1.Form1.Deregister_Click(System.Object,System.EventArgs)">
	<summary>
 This button click event is used to unregister the object of IDccManSink so that no event 
 get fired on Connection / Disconnection
 </summary>
	<param name="sender">The object of the sender.</param>
	<param name="e">Event arguments</param>
</member><member name="M:WindowsApplication1.Form1.OnConnection">
	<summary>
 This method can be used to do some activities which is to be done on Connection.
 </summary>
	<remarks></remarks>
</member><member name="M:WindowsApplication1.Form1.OnDisConnection">
	<summary>
 This method can be used to do some activites which is to be done on disconnection.
 </summary>
	<remarks></remarks>
</member><member name="T:WindowsApplication1.ActiveHandler">
	<summary>
 This event handler is used to register the event on Connection.
 </summary>
</member><member name="T:WindowsApplication1.DisconnectHandler">
	<summary>
 This event handler is used to register the event on DisConnection.
 </summary>
</member><member name="T:WindowsApplication1.DccMan">
	<summary>
 This class is used to get the instance of IDccManSink. It is implemented by
 Connection Manager of ActiveSynk.
 </summary>
</member><member name="T:WindowsApplication1.IDccMan">
	<summary>
 This Interface is used to get all the methods available in the IDccMan. with the help of 
 this interface we can register / deregister the IDccManSink.
 </summary>
</member><member name="T:WindowsApplication1.IDccManSink">
	<summary>
 This Interface is used to get all the methods available in the IDccManSink.
 </summary>
</member><member name="T:WindowsApplication1.DccManSink">
	<summary>
 This class is used to define all the methods of IDccManSink. the methods of this class gets
 triggered on connection / disconnection.
 </summary>
	<remarks></remarks>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Microsoft India
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions