Windows Media Services SDK banner art
PreviousNext

EventsProxy Property

Returns or sets a String value specifying the name of the proxy server that is monitoring the server running the Windows Media Unicast service.

Syntax

NSUnicastMgr.EventsProxy

Remarks

The Windows Media Unicast service and the Windows Media Monitor service compete with each other for system resources, particularly CPU time. The Windows Media Unicast service gets priority over the Windows Media Monitor service. Under extremely heavy loads, monitoring can be discontinued. To end conflict between the services, and ensure that the control receives all of its events, the Windows Media Monitor service can be set to run from a remote computer, or proxy monitor.

By default, the event proxy is the same computer as the server.

To set up remote logging, the Windows Media Monitor (NspMon) service must be enabled on the remote computer (specified by the EventsProxy property). Install the NspMon.dll file, and use the following command to register it:

Nspmon /regserver

Example

MsgBox (NSUnicastMgr.EventsProxy)       ' Show current proxy
NSUnicastMgr.EventsProxy = "NSPROXY"  ' Connect to proxy server NSPROXY
PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.