Detect USB Drive insert and removal

Cancelled Posted Feb 4, 2012 Paid on delivery
Cancelled Paid on delivery

I would like a console application that runs in the background as a service to detect when a USB flash drive is plugged in or removed. This application will need to do the following:

1. On startup, read an XML file (collocated in the same directory as the console executable) to get the name of a text file on the Flash Drive, get the name/address of the WEB Site to notify, the name of the method to call, and the name of input parameter of the method.

2. The USB Flash drive will contain a single text file containing an 85 varbinary data item. This is the only thing in the file. The content is an Authentication Code that will be sent to SQL Server use as part of the key for encryption.

3. When the USB Flash drive is REMOVED, the console application will call the method of an ASP.net code component of a Web Service application. The method has a single input parameter with a data type of varvinary 85. The value passed in will be a NULL.

4. When the USB Flash Drive is INSERTED, the console application will call the Web Service method passing the content of the text file on the flash drive. The content will look something like this: 0xA91B1E1CBBC79F44BA0A19A84EABE52D with a max of 85 characters (min of 10).

Note: the varbinary parameter may be varchar and we will handle conversion to varbinary internally.

Blog Design Icon Design Templates Website Design

Project ID: #2708312

About the project

Remote project Active Feb 26, 2012