Test Telnet Communication On Remote Computer Using .net?
Feb 2, 2012
I have a central server and I need to write a bit of vb.net which will see if I can telnet to a specified server on a specified port.Is there anyway this can be done in VB.net? I thought about sending command prompts to the remote server to execute telnet, then output the logs of netsh and read those and send the information back to the central server for review.
Its a very messy way of doing it, so I was just wondering if there was an easier way
I'm trying to develop a windows application where i can get connected to remote server and look for process state going in remote server.We have many remote servers where automatic installation of software going on. We have an xml file(installstatus.xml) where it tells us at what stage the installation is (Example : Inprogress , Completed, Failed.)
So our aim is to develop a windows application where i can get connected to that servers and look for their installation status(may be we can use installstatus.xml to look for installation status). Every time i connect to a server, the server information should get stored in XML file(i want to create a xml file where all the servers list i connect to should get stored)
The UI at left side should will have list of servers i can connect to. When i get connected to server, at right side of UI, i want to display the status of installation (In progress, failed , completed).
I need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?
I tried to get os version of remote computer using ip address with WMI ,It shows "RPC server unavailable" error.If anybody have solution for getting remote system information without WMI in vbnet,
I need to develop a communication between two computer using wireless medium like wifi is there any namespace or control in .net which support this type of communication i know i have to define protocol to understand communication but i need start ......
I am trying to create a client server application. Server side is vb.net program which runs in my computer and listens for commands. Client side is J2ME application which is in my mobile that will send commands.
I have a Bluetooth dongle for my computer and I am going to use Bluetooth as the medium. Wifi is not supported by my mobile.
I know basics of VB.Net(using VB2010). And I have Oracle's J2ME SDK installed in my computer and I have created small(simple applications) applications using it.
So, I have searched in Google. But most of the results are confusing. Today I found Wireless Communication Library .NET Edition. But documentation is very poor. So I don't know in between things, that is connection establishment. But I can code how to execute when each command is received at both sides.
I want to find the computer which are connected with my computer via lan connection using vb.net code. actually a have a mini project in network connection setting.
We have an VB.NET VS 2005 application that goes out and connects to remote computers on the network to gather information about the running services, processes, etc.
However, not all of the computers and servers are Windows boxes, and this is causing us some grief.
Is there a way in VB .NET to determine if a computer is running a Windows OS before trying to make a connection to it?
I have a windows form application that when it starts needs to see if the user has Excel installed on the computer and if not display a message informing user that part of functionality will be disabled.
I have a VB.Net application that I wrote and want to run it from a remote computer. It runs fine on both computers but not visible on the remote's screen. The program is in the task bar and can be run or closed remotely. Just can't see the GUI
I am wondering how to copy a file from one remote computer to another remote computer. I assume that I need to supply credentials for the connection, however I can't find anything about how to do that.
I can copy files from one place to another on my local box -I just don't have a clue about the remote stuff.
I can make users to my own computer.....but i don't know how can i do this to a remote computer same way Here is my code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Try Dim proc As New Process proc.StartInfo.FileName = "net.exe"
[code]....
1.A User is created in users account(control-panel>users account).......but i want to create only the users account in incoming connection(vpn incoming connection)
2.I want to do it in a remote pc>>for example a pc ,which ip is 113.120.34.54,user: administrator,password: 12345
can i do it same way that i followed to create user in my local PC?
I'm using asmx web service to lock a folder on remote computer! When I run web service on local machine everything working fine, but when I run it on remote computer nothing happen, folder on remote computer stay unlock! I supose that I need to set security permission for this web service on remote computer, but i don't know where! So, what I need to enable executing this service on remote computer?
I am making a client/server project where the server can send a String variable to client but for now i'm starting with a simpler code. I was able to code a bit but now i'm having a problem with this UnauthorizedAccessException. It seems that I am not authenticated but i was able to put the admin username and its password. This is my problem.. Here's my code...
I get all Computers name from ldap and I wish to search a file at remote machine and copy it at any desitination. so I have following question1.How can we connect remote machine if they have user name and password?
I'm trying to copy a file to a remote computer using the IO.File.Copy method. When I attempt to copy the file, the method throws an UnauthorizedAccessException exception, which is understandable because I am not able to supply logon credentials. My question is: I have the logon credentials (Computer name, username, password) so how can I copy the file to the remote system without resorting to an overkill API call (namely WNetUseConnection)?
I am trying to set up an "AT" job to export some registry keys on a remote computer, the problem is that DOS command requires a time to run. I want to get the system time of the remote computer so i can schedule it to run 1 minute from the time i send the command.
Is there any way to get the system time of a remote computer with VB.Net code?
Here is what I am doing: I have several servers that are used to run a piece of software. The software is started using a scheduled task. I can have up to three instances of the software running using three scheduled tasks, and three logged in users. Currently I am using a separate program running on two additional servers to make sure these two additional users are logged in, the scheduled task will not run if the user is not logged in. This separate program uses a saved Remote Desktop Session to make sure the users are logged in.
I need to have a PC talk to a Mac (apple) over a network (or alternately the internet, SSH, whatever works) in such a way as to open a shell window on the Mac to execute a number of commands to have it talk to a UNIX box and transfer files from a device attached to the Mac to the UNIX box where it can then be accessed later on in an shared area (SAMBA) by the PC.
The Mac has a fixed IP and I can have it configured to open the appropriate ports, but I would like to minimize any potential security issues.
Part of the reason why is the copy time is significantly lower. Copying from the PC to the shared area takes over 90 minutes vs about 10 for the Mac. No doubt this has to do in part to translation and network overhead.
I'm having a problem trying to figure out how to write an event to a remote computers event log. I am able to create a new source and create a new eventlog but I am unable to actually write a new event to the log. Here is a snippet of my code...
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Dim source As String = "Please provide a source for the event." Dim eventLogSelectError As String = "Please select and eventlog to write the evnt to." Dim messageTxtError As String = "Please provide a message for the event."