.NET Framework Networking and Communication,114
Recent update: 2008-3-21

How Can I Perform Command On FTP Server ?

1431 byte By Fraas at 2008-3-7
HiHow Can I (Delete File, Rename, Create Directory , ext..) from the FTP Server with the Help of FTP Classes in .NET Framework 2.0I have the following Code to Delete the File From FTP Server FtpWebRequest ftpRequest = (FtpWebRequest)WebRequest.Create("ftp://localhost/FileName.txt"); ...

ftp connection breaks

280 byte By CasualJim at 2008-3-6
Hi, I have a ftp client based on the edt library. And it works fine untill I switch to a different program or I minimize it. Then it starts spawning all kinds of exotic errors. But mostly I get connection already in use ? Any ideas on how to solve that ? Thanks already

the best tools

1231 byte By YuriySkroba at 2008-3-5
Hi everyone,We are trying to decide what kind of application (with VS.Net, preference VB.Net) to develop for a client. They have a central administrative office that includes space and people who serve their clients directly. They also have two remote sites that serve clients but do not have ...

STARTTLS support?

559 byte By jimadams at 2008-3-3
I'm struggling a bit with a VB.Net 2005 app that requires SMTP STARTTLS support, both from the client (initiating) and from the server (receiving) side. STARTTLS allows email clients and servers to begin with a non-encrypted TCP/IP session and then "upgrade" the connection using encrypted TLS ...

Internet or Network Monitor

190 byte By TrackerX at 2008-3-1
I want to make an internet or network monitor to retrieve how much data has been received and sent in bytes, does anyone know how to make this in .NET, what namespaces should i use? thnx...

keepalive socket option

707 byte By ffederico at 2008-2-28
i need to know if a client connected to me, goes down.i have a server socket (s1) and a client socket (s2).i make the keepalive option in this way:on the client:s1.SetSocketOption (SocketOptionLevel.Tcp, SocketOptionName.KeepAlive, 5000);s1.Connect( ... );on the server:m_Sck = s2.Accept(); // ...

NetMessageBufferSend in Network management

505 byte By Wasim at 2008-2-27
Hi all,I use the NetMessageBufferSend to send a message to a certain user in the network. In the function description is written message alias, What does it mean: NetMessageBufferSend The NetMessageBufferSend function sends a buffer of information to a registered message alias.please help... ...

Stream attachments from SQL database for Mail

203 byte By techie3 at 2008-2-26
How do I stream attachments that are currently stored in an SQL database? I am trying to create a Windows Service to send mail with attachments. If it is too complex are there any alternatives?

getrequeststream error

1914 byte By JohnsonRoad at 2008-2-25
To everyone:below is a partial code that i am doing for parsing an html. this works fine on the first access. but at the second round it is hanging on getrequeststream(highligted in red). if there is anyone of you who have encounted this, please advise me of the solution. Thank you so ...

Multiple FTP commands via one connection

334 byte By KarenKenworthy at 2008-2-24
Another FTP question. :)What's the best way to use the 2.0 Framework to send multiple FTP commands during one connection?The FtpWebRequest class seems to make a separate connection for each command. I'd like to connect/login once, send two or more FTP commands, receive the response to each, ...

SMS from .Net app

220 byte By SV at 2008-2-23
I would like to be able to send SMS messages from my .Net app to notify engineers of work items. Does anyone know what would be involved in this or have any recomendations for resources regarding this? Thanks.

Problem while connecting to a remote computer using TcpClient.Connect()

511 byte By Moshfegh at 2008-2-22
Hi there, When I try to connect to a remote computer using TcpClient.Connect(), I receive a SocketException with the following error:a connection attempt failed because the connected party did not properly respond after a period of time or established connection failed because connected host ...

File Size via FTP

950 byte By KarenKenworthy at 2008-2-22
Is there a preferred way to obtain the size of a file stored on an FTP server using the 2.0 Framework?The best I've come up with is to contact the FTP server via an FtpWebRequest object, with its .Method property set to WebRequestMethods.Ftp.GetFileSize.This causes the size to be returned in ...

FtpWebRequest.Method = "UploadFile"

5120 byte By WeiWangfatheroftwins at 2008-2-21
it worked before, and maybe after beta2, it stopped working. now it says "This method is not supported"How to get around of this? could not find anything about this on web.Thanks, Public Sub FtpUpload(ByVal uploadAddress As String, ByVal fileToUpload As String, ByVal credentials As ...

How to use SocketType.Seqpacket?

1959 byte By Mireno at 2008-2-20
Hi,I was wondering how you would use SocketType.Seqpacket in a server (asynchronous non-threaded). Currently, I've got the following code: listeningSock = new Socket(AddressFamily.InterNetwork, SocketType.Seqpacket, ProtocolType.Unspecified); // Bind to the local IP Address ...

How can I build a 3-tiers application using VC# Express Edition

169 byte By Juliau at 2008-2-20
Hi everyone, I want to build a Appliction that has 3-tiers, those are Client, Server and Database Server, how can I do that? Anybody can give me a sample? Thanks!

Socket crashes on AccessViolationException when the peer side aborts (net2.0 beta2)

485 byte By georgem at 2008-2-20
Hi, I experienced a weird problem with socket on my machine. On my colleague's it works like a charm. When I have socket, waiting for incomming data (after I called BeginReceive) and the peer side aborts - eg. I kill the telnet.exe who I used as a client, the socket throws ...

XrML and RMS

472 byte By Aaron.Hatcher at 2008-2-19
I am not sure if this is the right place to ask this question, but it seemed as likely as any. Basically, I'm looking for informaiton about RMS and Microsoft's implementation of XrML. I want to know if the TRACK field of XrML is used with the RMS server. Also, is it possible to specify in ...

How to setup a VPN connection in code?

208 byte By LeiJiang at 2008-2-18
In my C# program, how can I detect if there is a VPN connection to another machine and setup a connection if needed? I have known the IP address of the target machine and the VPN username/password. Thanks!

Using namespacing from .NET 2.0 in Visual studio 2003

138 byte By Wasim at 2008-2-17
Hi all, I need to use "System.Net.NetworkInformation" namespace in .Net 2.0. Can I use it in visual studio 2003. Please help...

Network API functions

160 byte By Wasim at 2008-2-16
Hi all, Witch API functions can I use in .NET framework for getting information on a specific network. Can you give me links for examples. Regards...

.NET Frameworks Version 1.1.4322

255 byte By AnonymousGuest at 2008-2-15
I have no .NET Framworks program and I need one to accsess a program for a game. I open it and it says I need .NET Frameworks Version 1.1.4322 Can someone please tell me where to get it or give me a direct link to download it? Thanks, Anonymous

Getting network users

229 byte By Wasim at 2008-2-15
Hi all, I need to know how to get all the users in LAN network. I need to connect the windows server 2003 from on of the stations and get all the stations that are connected to the server. Please help... Regards...

WinHttpRequest

1195 byte By JohnBar at 2008-2-15
Can I ask a question about WinHttpRequest? I know nothing about this Com object. But some one using this, seems to be triggering PPC ads that I have with Miva (formerly Findwhat). My IIS 6 log files shows they are downloading the html page but absolutely nothing else, no graphics, menu, images ...

Bluetooth support

364 byte By CamonZ at 2008-2-15
hi, i'm searching for information on bluetooth support on the pocket pc for the .NET CF 2.0 , searching the MSDN library i haven't found almost anything, is the only way to handle a bluetooth communication with a PPC using P-Invoke?, or are there classes in the CF for handling this ...

system.net.mail class question

220 byte By dagnar at 2008-2-15
I was checking out the new System.Net.Mail class and noticed the LinkedResource...does anyone know of an example using a LinkedResource? How does one reference the LinkedResource from the email body? thanks in advance

How to stream text from VT-100 telephone switch?

1438 byte By StephenSolt at 2008-2-14
We have a Lucent telephone switch which can be managed using a terminal or terminal emulator. I know the commands required to log in and access the directory (unfortunately these may vary depending on the state any previous manual session was left, but I can still get to where I want to be).The ...

asynchronous sockets

1494 byte By bilalso at 2008-2-14
I have written a simple socket program that joins and reads a multicast group. But it reads the multicast synchronously and if theres nothing coming form the multicast group, the program just hands. How can I make it synchronous? How can I use delegates here so that the code becomes ...

connecting between Outlook and Yahoo mail server

417 byte By Wasim at 2008-2-13
Hi all,I need your help in the follwoing case:I want to build an application of communication layer between Outlook 2003 and yahoo emal server.I want to begin now only the first step:To read the inbox list.Witch classes I need in the .Net framework? how can I read about them ? how can I apply ...

How to determine the content encoding.....?

320 byte By MingTsungLin at 2008-2-13
Dear All: By using WebRequest and WebResponse classes, I meet a problem on dealing with the responsed data. How to determine the encoding type of the responsed data before get the entire content?Thanks a lot.Ming Tsung Lin, TaiwanJun 17, 2005 ...

How to get current user logon in windows service

1798 byte By Jahangir at 2008-2-12
Hello i want to run windows service on client machine that makes an entry of Current user logon in server database well i tried three ways to do it 1) Enviroment.username2) System.security.Principals.windowsidentity.getCurrent();3) through windows registry All three methods work well when i ...

Active Directory- login and domain problems

992 byte By Martin.Cruz at 2008-2-11
I installed active directory using the typical dcpromo. Then i used the default sysvol and ntds locations. I also checked the option where active directory will configure and install windows 2003 dns server. I then fixed the tcp/ip properties to accomodate dns settings. After I restart the ...

How to get the ip address of a printer?

158 byte By Handi at 2008-2-10
Hi all, I have a network printer, how can I get the Printer Ip address from The Printer name? is there any classes or functions to do this? Thanks.

active directory update with application.

2250 byte By ny3ranger at 2008-2-10
I want to be able to update attributes of active directory users.I am using this code to get the user's information. Specifically if the user is active or disabled. Dim search As DirectorySearcher = New DirectorySearchersearch.Filter = String.Format("(SAMAccountName={0})", ...

HTML Mail using SmtpClient

833 byte By Gravy at 2008-2-8
Hi,I'm using .NET 2.0 (Beta2) and I want to send an email where the body is html. I'm using the System.Net.Mail.SmtpClient and System.Net.Mail.MailMessage classes. Before sending the MailMessage I add an alternteView using ...

SOAP client in Windows Service - memory leak?

5270 byte By TeddyBear at 2008-2-8
I am experiencing a very strange and annoying problem :-(. It's gonna take a while to describe it, so be ready to read a long post... I have a Windows service written in C# that works as a scheduler - it loads objects implementing certain interface from other assemblies, and executes some of ...

Using Win32 socket handles?

977 byte By TaffyDownUnder at 2008-2-7
Is there any way to do a socket "Select()" on Win32 socket handles in C#, other than using a PInoke style call on the C socket "Selelct()" function? I'm writting C# code that has to use a third party C dll. Thanks to the people at (www.swig.org) I've wrapped up the dll functions and can call ...

WebClient.DownloadFileAsync method

4141 byte By Raananan at 2008-2-7
Hi, I wrote a program that need to download on demend a file from a given url. I built a download form that gets the url and the file path to save and it shows a progress bar. The path and filename are given to the form on the c'tor and the download itself starts when a method is being called. ...

creating new Socket with IPEndPoint

1820 byte By c#crack at 2008-2-7
Hi buddies,I am trying with a function which can send message to an ip and port using socketwhile running this application i am getting an exception as - "{"Only one usage of each socket address (protocol/network address/port)\r\nis normally permitted" }"Please help ...regards,Vinuthe code like ...

**Disconnect Wireless Networking**

1235 byte By alpstar01 at 2008-2-7
Hi This is very important that i know this... I have created a vbscript that detects the NIC's IP Address and if the IP address is withing the conditions - it stops the following services: Smart Card ServiceWireless Zone Configuration Service Under the group policy set - user's cannot start ...

establishing a TCP connection from an emulated device (Pocket PC)

3734 byte By JonathanSokanovic at 2008-2-6
Hi I am trying to create a server application that, once started, a Pocket PC application can connect to to retrive data. I cant even get a connection established with the Pocket PC device. I am constantly getting the socket exception saying the host activly refused the connection.I am using ...

Socket.EndReceive question - in which scenarios does it return 0 (zero)?

952 byte By DrazenDotlic at 2008-2-6
Hi,I have an application that works just fine. I am puzzled by the following issue though - in certain scenarios, Socket.EndReceive returns 0 bytes. According to the documentation, this happens when the remote host calls Socket.Shutdown or closes the Socket in another manner. Generally, I ...

**Disconnec Wireless Networking**

1235 byte By alpstar01 at 2008-2-5
Hi This is very important that i know this... I have created a vbscript that detects the NIC's IP Address and if the IP address is withing the conditions - it stops the following services: Smart Card ServiceWireless Zone Configuration Service Under the group policy set - user's cannot start ...

please help me to create dialup connection i c#

557 byte By AhmedOsama at 2008-2-5
hii how are you ? i want ask, how i can create program to connecting to internet by using dialup connection in C#? please tell me any information thanks Ahmed Osama ...

SslStream and SSL protocol not recognized (i think)

5344 byte By luca82 at 2008-2-4
i wrote this simple apps to connect to an IRC server but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptography.X509Certificates; namespace ...

Remoting

1013 byte By gishac at 2008-2-4
[English version]Hi can you help me? How can I list all the machines in the local network without use the directoryservices dll? because this make that the application depend on a Windows 2003 server....Answer to gisbert85@hotmail.com or to gishac@gmail.com[Spanish]Como puedo hacer para obtener ...

windows 2003 second domain controller windows 2000 si the other

175 byte By mikeg. at 2008-2-4
I am trying to add a server 2003 domain to a server 2000 domain. I keep getting the error that one domain controller (2000) is not compatible. What can I do to fix this issue

monitor file on network computer

322 byte By bilalso at 2008-2-4
Hi,I want to monitor a file on other PC on network to see if its growing in size and other things. My question is how do I log on to that computer on network using C#. Also, if that computer on network requires authentication, how do I supply username and password to that computer from C# code ...

Making One-Way HTTP Requests

140 byte By redrori at 2008-2-4
Is it possible to maintain a persistent connection using .Net classes without sending a response to the client (the client is ok with that).

using parallel port for serial communication

524 byte By Katou at 2008-2-3
Hi all,I need to get some data from a PIC microprocessor. The microprocessor's UART is used for this purpose, so its output data is serial. It's meant to be interfaced with a PC's serial port.My problem is that I'm using a laptop, and it doesn't have a serial port. It only has a parallel ...

.NET Development

Site Classified