Method | Description | |
---|---|---|
Initialize ( string localPath ) : void | ||
Initialize ( string localPath, |
Initializes the MovableTypeBlacklist.
|
|
IsBlacklisted ( string url ) : |
Determines if the url is blacklisted.
|
|
UpdateBlacklist ( ) : BlacklistUpdateState |
Downloads the MT-Blacklist Master Copy. The file will only get downloaded a maximum of once per day. The file is downloaded using gzip compression from the server. |
Method | Description | |
---|---|---|
OpenFile ( ) : string | ||
WriteToFile ( string contents, System.DateTime lastModified ) : void |
public Initialize ( string localPath ) : void | ||
localPath | string | |
return | void |
public Initialize ( string localPath, |
||
localPath | string | The absolute path to the local blacklist.txt file |
internetAddress | The |
|
return | void |
public IsBlacklisted ( string url ) : |
||
url | string | The url to check. |
return |
public UpdateBlacklist ( ) : BlacklistUpdateState | ||
return | BlacklistUpdateState |