IrDA in .NET Framework (NOT Compact)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to discover if there is any support for IrDA with the Framework.
I am currently using .NET Framework 1.1 (Ver 1.1.4322 SP1). I am developing
using C# under Visual Studio 2003.

I belive that there is support for IrDA in the Compact Framework - I am not
using the Compact Framework.

I tried to use System.Net.Sockets namespace. But when I try to use the code

private IrDAListener irListen;
private IrDAClient irClient;
private IrDAEndPoint irEndP;

The compiler error is:-

....\Form1.cs(21): The type or namespace name 'IrDAListener' could not be
found (are you missing a using directive or an assembly reference?)

The help page for IrDAListener suggests that it is available in .NET Ver 1.1

http://msdn.microsoft.com/library/d...lrfsystemnetsocketsirdalistenerclasstopic.asp
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Places a socket in a listening state to monitor connections from a specified service or network address.

For a list of all members of this type, see IrDAListener Members.

System.Object
System.Net.Sockets.IrDAListener

[Visual Basic]
Public Class IrDAListener

Can anyone provide information on how to use the IrDA capability?

Thanks,
Brian
 
Taken from the bottom of the article that you referenced ...

Requirements
Namespace: System.Net.Sockets

Platforms: .NET Compact Framework

Assembly: System.Net.Irda (in System.Net.Irda.dll)

Sorry; does not look like this is available outside of the compact
framework.



Brian said:
I am trying to discover if there is any support for IrDA with the
Framework.
I am currently using .NET Framework 1.1 (Ver 1.1.4322 SP1). I am
developing
using C# under Visual Studio 2003.

I belive that there is support for IrDA in the Compact Framework - I am
not
using the Compact Framework.

I tried to use System.Net.Sockets namespace. But when I try to use the
code

private IrDAListener irListen;
private IrDAClient irClient;
private IrDAEndPoint irEndP;

The compiler error is:-

...\Form1.cs(21): The type or namespace name 'IrDAListener' could not be
found (are you missing a using directive or an assembly reference?)

The help page for IrDAListener suggests that it is available in .NET Ver
1.1

http://msdn.microsoft.com/library/d...lrfsystemnetsocketsirdalistenerclasstopic.asp
Note: This namespace, class, or member is supported only in version 1.1
of the .NET Framework.
Places a socket in a listening state to monitor connections from a
specified service or network address.

For a list of all members of this type, see IrDAListener Members.

System.Object
System.Net.Sockets.IrDAListener

[Visual Basic]
Public Class IrDAListener

Can anyone provide information on how to use the IrDA capability?

Thanks,
Brian
 
So the documentation is wrong at the top of the page.:

" Note: This namespace, class, or member is supported only in version 1.1 of
the .NET Framework. "

Is there any other way to interface to IrDA? I read somewhere about using
sockets - has anyone used this?
If this is not possible within C# and .NET will I have to break out to
another langauage C/C++ and interface to the IrDA driver in a traditional
manner?


Thanks,
Brian

Martin Robins said:
Taken from the bottom of the article that you referenced ...

Requirements
Namespace: System.Net.Sockets

Platforms: .NET Compact Framework

Assembly: System.Net.Irda (in System.Net.Irda.dll)

Sorry; does not look like this is available outside of the compact
framework.



Brian said:
I am trying to discover if there is any support for IrDA with the
Framework.
I am currently using .NET Framework 1.1 (Ver 1.1.4322 SP1). I am
developing
using C# under Visual Studio 2003.

I belive that there is support for IrDA in the Compact Framework - I am
not
using the Compact Framework.

I tried to use System.Net.Sockets namespace. But when I try to use the
code

private IrDAListener irListen;
private IrDAClient irClient;
private IrDAEndPoint irEndP;

The compiler error is:-

...\Form1.cs(21): The type or namespace name 'IrDAListener' could not be
found (are you missing a using directive or an assembly reference?)

The help page for IrDAListener suggests that it is available in .NET Ver
1.1

http://msdn.microsoft.com/library/d...lrfsystemnetsocketsirdalistenerclasstopic.asp
Note: This namespace, class, or member is supported only in version 1.1
of the .NET Framework.
Places a socket in a listening state to monitor connections from a
specified service or network address.

For a list of all members of this type, see IrDAListener Members.

System.Object
System.Net.Sockets.IrDAListener

[Visual Basic]
Public Class IrDAListener

Can anyone provide information on how to use the IrDA capability?

Thanks,
Brian
 
Back
Top