Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IWMSPublishingPoint object supports the basic properties that describe both on-demand and broadcast publishing points. Additional properties and methods supported by on-demand and broadcast publishing points are available through the IWMSOnDemandPublishingPoint and IWMSBroadcastPublishingPoint interfaces.
The IWMSPublishingPoint object exposes the following properties and methods.
| Property | Description | 
|---|---|
| AllowClientsToConnect | Specifies and retrieves a Boolean value that indicates whether the publishing point can receive client connections. | 
| AllowPlayerSideDiskCaching | Specifies and retrieves a Boolean value that indicates whether the publishing point allows clients to cache content locally. | 
| Authenticators | Retrieves an IWMSPluginsIWMSPlugins Object (C#) containing a collection of authentication plug-ins. | 
| CacheProxyExpiration | Specifies and retrieves the expiration value for cached content. | 
| CurrentCounters | Retrieves an IWMSPublishingPointCurrentCountersIWMSPublishingPointCurrentCounters Object (C#) that contains counters maintained by the publishing point. | 
| DistributionUserName | Retrieves the user name provided by the client in response to an authentication challenge sent during server-to-server distribution. | 
| EnableFEC | Specifies and retrieves a value indicating whether Forward Error Correction is enabled. | 
| EnableWrapperPath | Specifies and retrieves a Boolean value indicating whether a wrapper playlist is enabled for the publishing point. | 
| EventHandlers | Retrieves an IWMSPluginsIWMSPlugins Object (C#) containing a collection of event authorization and notification plug-ins. | 
| get_FileDescriptions | Retrieves an IWMSFileDescriptions collection containing information about files, directories, and playlists in a specified publishing point path. | 
| IsDistributionPasswordSet | Retrieves a Boolean value indicating whether the password used to authenticate server-to-server distribution is set. | 
| ID | Retrieves a unique CLSID for the publishing point. | 
| Limits | Retrieves an IWMSPublishingPointLimitsIWMSPublishingPointLimits Object (C#) containing information about limits maintained by the publishing point. | 
| MonikerName | Retrieves the moniker name of a publishing point. | 
| Name | Specifies and retrieves the name of the publishing point. | 
| OutgoingDistributionConnections | Retrieves an IWMSOutgoingDistributionConnections collection containing information about distribution connections. | 
| Path | Specifies and retrieves the path to the publishing point content. | 
| PeakCounters | Retrieves an IWMSPublishingPointPeakCountersIWMSPublishingPointPeakCounters Object (C#) that contains information about peak counters maintained by the publishing point. | 
| Players | Retrieves an IWMSPlayersIWMSPlayers Object (C#) containing information about connected players. | 
| Properties | Retrieves an IWMSNamedValuesIWMSNamedValues Object (C#) containing a collection of name/value pairs for the publishing point. | 
| Status | Retrieves the publishing point status. | 
| StreamFilters | Reserved for future use. | 
| TotalCounters | Retrieves an IWMSPublishingPointTotalCountersIWMSPublishingPointTotalCounters Object (C#) that contains information about the total counters maintained by the publishing point. | 
| Type | Retrieves an enumeration value that indicates the publishing point type. | 
| WrapperPath | Specifies and retrieves the path to a wrapper playlist file. | 
| Method | Description | 
|---|---|
| SetDistributionUserNamePassword | Specifies the password and user name to use in response to an authentication challenge sent during server-to-server distribution. | 
Example
The following example illustrates how to retrieve an IWMSPublishingPoint object.
using Microsoft.WindowsMediaServices.Interop;
using System.Runtime.InteropServices;
// Declare variables.
WMSServer              Server;
IWMSPublishingPoints   PubPoints;
IWMSPublishingPoint    PubPoint;
try {
    // Create a new WMSServer object.
    Server = new WMSServerClass();
    // Retrieve the IWMSPublishingPoints object.
    PubPoints = Server.PublishingPoints;
    // Retrieve information about each publishing point.
    for (int i = 0; i < PubPoints.Count; i++)
    {
        PubPoint = PubPoints[i];
    }
}
catch (COMException comExc) {
    // TODO: Handle COM exceptions.
}
catch (Exception e) {
    // TODO: Handle exceptions.
}
See Also
Reference
IWMSBroadcastPublishingPoint Object (C#)
IWMSOnDemandPublishingPoint Object (C#)
IWMSPublishingPoints Object (C#)