Does someone have used Network Emulator API exposed in VS 2010

Posted by Pritam on Stack Overflow See other posts from Stack Overflow or by Pritam
Published on 2010-04-27T18:11:47Z Indexed on 2010/04/27 18:13 UTC
Read the original article Hit count: 358

Hi,

I have seen VS2010 exposing Network Emulator API. I have installed it and trying to use this API, but not able detect whether it is really running with this code or not. Sometime I have given wrong profile name but it does not throw any error. Please find below my piece of code. If some one have used it please help me.

IntPtr m_emulatorHandle = IntPtr.Zero; NetworkEmulationApi.LoadProfile(m_emulatorHandle, "300KB_WithLatency.xml"); NetworkEmulationApi.StartEmulation(m_emulatorHandle);

Thanks, Pritam

© Stack Overflow or respective owner

Related posts about testing

Related posts about authentication