string path = project.Variables["path"].Value;
string text =
@"[Project]
Name= "+project.Variables["FolderSBPRJ"].Value + @"
Url="+project.Variables["url"].Value + @"
CheckDomainOnly=1
UseProxies=1
Delay=0
StopWhenFound=1
StopAfter=100
Connections=1
ProxyRetries=0
[Google]
Enabled=1
Get100=1
Language=12
LanguageName=English
LanguageData=lr=lang_en
Domain=0
DomainName=google.com
[Yahoo]
Enabled=0
Language=34
LanguageName=United States
LanguageData=http://us.search.yahoo.com
[Bing]
Enabled=0
Language=38
LanguageName=United States - English
LanguageData=mkt=en-US";
File.WriteAllText(path,text,Encoding.Unicode);
// StreamWriter(string path, bool append, Encoding encoding)