NET Link Tracker
LinkLogic Class Members
Properties  Methods 


KellermanSoftware.NetLinkTracker Namespace : LinkLogic Class

The following tables list the members exposed by LinkLogic.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public Property If a BaseDirectory is specified and IsUrl is false, it will be combined with the FilePathOrUrl property. This is useful if it is a shared hosting environment where the base directory may change in the future.  
Public Property If a BaseUrl is specified and IsUrl is true, it will be combined with the FilePathOrUrl property. This is useful if you are planning for the domain to change later.  
Public Property Lazy load DatabaseLogic  
Top
Public Methods
 NameDescription
Public Method Check the status of a link. If the link is null, it will return LinkStatus.Expired  
Public Method Create a link to a download that expires after the number of specified days  
Public Method Create a url that expires after the number of specified days  
Public Method Create a link to a URL or a file using all available options  
Public Method Create a tracked link to a download that never expires  
Public Method Create a tracked url that never expires  
Public Method Delete all expired links based on the date, request count, or maximum IP Addresses  
Public Method Delete a tracked link  
Public Method Get a friendly status for a link. If the link is null, it will return: The link is expired.  
Public Method Get a link by the GUID. This may return null if the expired link has been deleted.  
Public Method Get a link by the AlternateLinkId.  
Public Method Combine a base directory with a file path, allowing for nulls. This is used internally with BaseDirectory  
Public Method Process a link. If it is a url, the user will be re-directed. If it is a file, the user will be sent the file.  
Public Method Combine a base url with a partial url, allowing for nulls. This is used internally with BaseUrl  
Top
See Also

Reference

LinkLogic Class
KellermanSoftware.NetLinkTracker Namespace