Infrared with C#

  • Thread starter Thread starter David
  • Start date Start date
D

David

Hi,

I want to send a file using infra-red to another device using my C#
application. I've got a built-in infrared port on my laptop and wondered
how I would go about programming such an application. Is this possible or
would I need to obtain a stack implementation from somewhere?

Thanks in advance.

David.
 
David said:
Hi,

I want to send a file using infra-red to another device using my C#
application. I've got a built-in infrared port on my laptop and wondered
how I would go about programming such an application. Is this possible or
would I need to obtain a stack implementation from somewhere?

AFAIK, IrDA port is just another COMx: port.
You should have no trouble Googling for serial port examples.

LP,
Dejan
 
David:
David said:
Hi,

I want to send a file using infra-red to another device using my C#
application. I've got a built-in infrared port on my laptop and wondered
how I would go about programming such an application. Is this possible or
would I need to obtain a stack implementation from somewhere?

Thanks in advance.

David.

check out the IRDAListener class
http://msdn.microsoft.com/library/d...lrfsystemnetsocketsirdalistenerclasstopic.asp
and IrDAClient classes
http://msdn.microsoft.com/library/d...lrfsystemnetsocketsirdalistenerclasstopic.asp

I'm not sure from the context of your post if you need both source and
destination machines to recieve and transmit (I guess they wouldn't be
source or destination then, they'd be both but I basically mean two way
communicators), so you can set up both.

HTH,

Bill
 
Many thanks.

David.

William Ryan eMVP said:
David:


check out the IRDAListener class
http://msdn.microsoft.com/library/d...lrfsystemnetsocketsirdalistenerclasstopic.asp
and IrDAClient classes
http://msdn.microsoft.com/library/d...lrfsystemnetsocketsirdalistenerclasstopic.asp

I'm not sure from the context of your post if you need both source and
destination machines to recieve and transmit (I guess they wouldn't be
source or destination then, they'd be both but I basically mean two way
communicators), so you can set up both.

HTH,

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

C# Infrared Programming 1
Infrared Sensor 1
Infrared Mouse 4
What is "eHome Infrared Receiver" 3
Infrared Conneciton 6220 2
After installing SP2, my infrared doesnt work 3
Infrared devices 1
Infrared problems 1

Back
Top