473,394 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Infrared with C#

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.
Nov 16 '05 #1
4 5642
DC
David wrote:
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
Nov 16 '05 #2
David:
"David" <no*@vailable.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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/de...classtopic.asp
and IrDAClient classes
http://msdn.microsoft.com/library/de...classtopic.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
Nov 16 '05 #3
Many thanks.

David.

"William Ryan eMVP" <bi**@NoSp4m.devbuzz.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
David:
"David" <no*@vailable.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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/de...classtopic.asp and IrDAClient classes
http://msdn.microsoft.com/library/de...classtopic.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

Nov 16 '05 #4
Hi David,

Take a look at this article in MSDN it implement a chat program using IrDA

http://msdn.microsoft.com/library/de...tml/vs04b6.asp

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"David" <no*@vailable.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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.

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Samar Hossam | last post by:
Hello, I am developing an application for PocketPCs and I faced some problems, when trying to use the Infrared port to send some data to another device. I kindly want to ask you for help. ...
1
by: Robert Oschler | last post by:
Hello, Recently I made a program to control my Robosapien robot from my PC, via a third party infrared transceiver - Jon Rhee's USB UIRT (http://www.usbuirt.com). I wrote a program in Delphi...
0
by: Jackie J. Zhou | last post by:
Has anyone been using the infrared to transfer data between two computer? Thank you, Jackie
1
by: David | last post by:
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...
1
by: QuocSI | last post by:
Hi all, I wish to program the Infrared port to communicate with another computer. I don't know how. Can someone help me please. Thank a lot.
1
by: Steve-x | last post by:
Hi, I am looking at trying to capture infrared remote control signals and control my audio/video equipment with my computer. All via C#. Does anyone know of a few simple c# classes that could...
0
by: methmonster | last post by:
I want to know how I would go about reading signals from a Microsoft USB infrared receiver I have. It is a product designed for the Media Center Edition of Windows, but I am pretty sure it can...
0
by: hsmasud | last post by:
I have a USB Infrared receiver/transmiter. I am using Kingsun KS-959 USB Infrared adapter driver to communicate with my mobile phone. I'm using Nokia PC Suite 6.0 to syncronise with my outlook. It...
2
by: Jassim Rahma | last post by:
I have a medical device which has an infrared and i want to know how can i read data from it using the infrared/
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.