473,545 Members | 2,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get usb port number when magnetic card reader swap in magnetic card reader?

Hii
I am using VB.Net 2005
I have some query which are as follow

1--How to find out that in which usb port my magnetic card reader is Connected ????

2--How to get usb port number when magnetic card reader swap in magnetic card reader ???


3--When a person swap a magnetic card in magnetic card reader then how should i find out that from which "magnetic card reader" card is swapped
Oct 22 '10 #1
1 2237
Plater
7,872 Recognized Expert Expert
That is a question you would need to take up with the manufacturer of the card reader/maker of the driver for the card reader.

There is no good .NET way to do this (unless the card reader shows up as a COM port). You could try using WMI, or native win32_API
Oct 22 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
22299
by: nik | last post by:
Hi all I'm struggling to find an answer to this one! We've configured our SQL boxes to run under a different port number, e.g. from 1433 to 4533. This works fine under our Citrix enviornmnet where the dsn is configured to use the new port. The problem comes in terms of SQL Server management. For example, when you try and configure SQL...
2
7091
by: Seal | last post by:
Hi, May I know how to change the default port number to other number (default is 80) when I start an asp.net web application using VS.net? Thanks. Regards, Seal
2
1966
by: Bozo | last post by:
Hi, Does anyone know how to run a .Net exe using a particualr port number to connect to a web service? How do you do this programmatically. Thanks
0
2971
by: Nick | last post by:
Is there a way to avoid using a specific TCP port number, on the client side, when using HttpWebRequest? I've written an HTTP server and client that can't communicate with each other when the TCP port for the client is 1723 (which happens to be PPTP). The XP SP2 firewall on the HTTP server computer (XP Pro)blocks the inbound connection,...
0
1256
by: stewart | last post by:
Hi. I have an asp.net web application. Normally when i want to build and run it I press CTRL + F5, this starts the cassini web server and opens a browser window where the url is http://localhost:RandomPort the 'RandomPort' being the same port number that the cassini web server is listening on. However, as of today, when I CTRL + F5 the...
9
13546
by: xparrot1 | last post by:
I know that I can get the SERVER port number like this: HttpContext.Current.Request.ServerVariables My question is how do I get the remote CLIENT port number? Thanks Derek
3
2784
by: tranzpupy | last post by:
Hi, Everybody, My ASP site will only display with a port number in the url. How do I make IIS display it without the port number?? I've created a web site in VS 2005 called webapp1 with one default.aspx. When I run it in VS 2005 it displays correctly in IE6, but has the port number in the url: http://localhost:1481/webApp1/default.aspx
3
10271
by: Jason | last post by:
Hello I've got some test code that I've found on the web that is a TCP server and a TCP client. The server sends data to the client on the port i specify. I know because get the port number through an IPEndPoint. However when I send the data back to the server, the server receives it on a different port number then what I specify, and I...
1
2350
by: anneaunimme | last post by:
I have a program which allow my computer to communicate to another device using an ethernet Cable. The thing is that this program is set so that it can only work through a specific IP address and a specific port number. Let's say : IP address : 192.234.1.101 Port Number: 5555 When I connect the cable between the computer and the device, the...
0
1838
by: rotaryfreak | last post by:
Hello, Im building a client-server application and the user needs to input the hostName and the portNumber the client application and needs to send the portnumber to the server application. I have everything set up (properly, i think) but i keep getting a connection error on the portNumber because my instantiated portNumber is 0; On the...
0
7468
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7656
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7808
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7757
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5329
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4945
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3443
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1014
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.