Does framework encapsulate NET SEND ?

  • Thread starter Thread starter Grok
  • Start date Start date
G

Grok

Is there classes in the .NET framework from which I can emulate a
system networking:

NET SEND {name | * | /DOMAIN[:name] | /USERS} message

for Windows networks.

TIA.
Grok
 
Hi Ryan,

I visited the urls that you mentioned.
Both the examples use "net.exe".
I do think it could have been better implemented without
creating the batch file.
One can directly use System.Diagnostics.Process.Start()
and pass the relevant command line arguments.

BTW, does anyone know how to enumerate the computers on
the local LAN. Lets say my LAN has ten comps. How can I
get their names?

Regards
Harsh Thakur
-----Original Message-----
http://zamov.online.fr/csharp.html
http://www.codeproject.com/csharp/dotnetsenders.asp

HTH,

Bill
Grok said:
Is there classes in the .NET framework from which I can emulate a
system networking:

NET SEND {name | * | /DOMAIN[:name] | /USERS} message

for Windows networks.

TIA.
Grok
 
Thanks, but I was hoping for a GUI-less sender that I could add to a
service. I suppose I'll need to implement the APIs into my own class
and extend .NET somewhere. Kinda disappointed that MS hasn't done
this by now.

http://zamov.online.fr/csharp.html
http://www.codeproject.com/csharp/dotnetsenders.asp

HTH,

Bill
Grok said:
Is there classes in the .NET framework from which I can emulate a
system networking:

NET SEND {name | * | /DOMAIN[:name] | /USERS} message

for Windows networks.

TIA.
Grok
 
Have you looked at the System.Net.Sockets namespace. It
includes classes to perform synchronous or asynchronous
data transfers across a network. Additionally you can
implement a headless service application using this
technology.


Disclaimer
This posting is provide "As Is" with no warranties, and
confers no rights
-----Original Message-----
Thanks, but I was hoping for a GUI-less sender that I could add to a
service. I suppose I'll need to implement the APIs into my own class
and extend .NET somewhere. Kinda disappointed that MS hasn't done
this by now.

http://zamov.online.fr/csharp.html
http://www.codeproject.com/csharp/dotnetsenders.asp

HTH,

Bill
Grok said:
Is there classes in the .NET framework from which I can emulate a
system networking:

NET SEND {name | * | /DOMAIN[:name] | /USERS} message

for Windows networks.

TIA.
Grok

.
 
Is there classes in the .NET framework from which I can emulate a
system networking:

NET SEND {name | * | /DOMAIN[:name] | /USERS} message

for Windows networks.

No. You must implement LAN manager API NetMessageBufferSend to
accomplish this functionality.

Darko
 
Back
Top