RssFeed Documented Class Library

RssFeed.Credentials Property

Specifies credentials to use to connect to an external URL that required authentication.

public virtual System.Net.ICredentials Credentials {get; set;}

Property Value

An instance of an object that implements ICredentials.

Remarks

If you are accessing a remote RSS feed through a website that uses authentication, you will need to create a functional ICredentials object and assign it to the Credentials property. This property needs to be assigned before the call to DataBind is made (assuming you are accessing a remote RSS feed that requires authentication).

Note: The Credentials property is not stored in ViewState, meaning it is not persisted across postbacks. Each time, then, that you call DataBind be certain to create a new ICredentials object and assign it to this property.

See Also

RssFeed Class | skmRss Namespace