DotNetWikiBot Framework Documentation
This constructor uses default userName and password for site, if userName and password are found in "Defaults.dat" file in bot's "Cache" subdirectory. File must be UTF8-encoded and must contain user names and passwords in the following format:
 Copy imageCopy
https://en.wikipedia.org|MyUserName|MyPassword
https://de.wikipedia.org|MyUserName|MyPassword|MyDomain
Each site's accouint must be on the new line. This function allows distributing compiled bots without revealing passwords.

Namespace: DotNetWikiBot
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0

Syntax

C#
public Site(
	string address
)

Parameters

address
Type: System..::..String
Wiki site's URI. It must point to the main page of the wiki, e.g. "https://en.wikipedia.org" or "http://127.0.0.1:80/w/index.php?title=Main_page".

Return Value

Type:
Returns Site object.

See Also