1. implementing the Ping Class in my form
I was able to find the ping class already in the OpenNETCF. Thanks. But i am having trouble implementing it in my form. Can anyone help me use it? Here's my code on first try: //its in a button Ping ping = new Ping(); PingReply request; request = ping.Send(txtRemoteHost.Text); MessageBox.Show(request.ToString()); But its not working at all. Can anyone help me implement the Ping Class of the OpenNETCF? Thank You so much! I really appreciate your help.
2. Deriving a class from Socket class in C#
3. Problem met with while implementing SMTP event sink with C#
Hi guys,
Thi's a question about export CDO & SEO type lib to .Net assembly.
I'm a new guy to .Net interop with COM, but I've to make a program to
implement an event sink by C#, working with SMTP virtual server. I
exported seo.dll & cdosys.dll type libs to C# dev environment by tlbimp
/keyfile: command line & GUI operations, but I got two twisted
interfaces:
public abstract new void OnArrival ( CDO.Message Msg ,
CDO.CdoEventStatus EventStatus )
public abstract new void IsCacheable ( )
In C++ APIs of COM, they're actually:
STDMETHOD(OnArrival)(IMessage * Msg, CdoEventStatus * EventStatus)
STDMETHOD(IsCacheable)
There's no STDMETHOD defined in C#, and I can't define
public class Class1 : ISMTPOnArrival, IEventIsCacheable
{
public override void OnArrival(CDO.Message Msg , CDO.CdoEventStatus
EventStatus )
public override void IsCacheable()
}
to override them, because the compiler told me "no suitable method
found to override".
Does anyone know what's the problem? I tried to remove "override",
compiled but it didn't work. I think in this way, I defined two new
methods so not overriding the virtual ones.
But how to do so? Thanks.
-Gavin
4. Where's ping class on .Net CF 2 SP2 ?? - Pocketpc Developer
5. C++ class/library that implements TCP
I'm looking for a C++ class/library that implements TCP networking and supports file transfer, Multi clients. I've seen some articles in CodeProject but it was too difficult for me to use. The built in MFC support in FTP is not suited for me since the official FTP relies on system authorization and I need an independent file transfer. Is there any simple one known by the experts here(I'm not a good programmer)? Regards Rami
6. Class that implements IEnumerable and IEnumerator
7. XmlSerializing a class that implements IEnumerable
I have a class that is being returned by several WebMethods. Ok - all is good. Now if I have this class implement IEnumerable, the data is no longer serialized. This class does contain a private ArrayList and has an Items property (read only). Any suggestions?
8. Problem when serializing class that implements IEnumerable - VB.Net