c# - Using different proxy for each GeckoFx Instances -


i'm using geckfx18.0 , xulrunner18.01. since geckofx share cookie , user preferences others instance try create new profile directory make them have unique setting seems no use. here code. there problem code?

string profiledir = port.tostring();         string directory = path.combine(environment.getfolderpath(environment.specialfolder.localapplicationdata), path.combine("geckofx", profiledir));         this.text = directory.tostring();         if (!directory.exists(directory))             directory.createdirectory(directory);         gecko.xpcom.profiledirectory = directory;         geckopreferences.user["network.proxy.type"] = 1;         geckopreferences.user["network.proxy.socks"] = "127.0.0.1";         geckopreferences.user["network.proxy.socks_port"] = port;         geckopreferences.user["network.proxy.socks_version"] = 5;         geckopreferences.user["general.useragent.override"] = ua; 


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -