|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
namespace TwitterTransportBinding
{
public static class ConfigHelper
{
static String GetSetting(string key)
{
return ConfigurationManager.AppSettings[key];
}
public static String ServerAccount
{
get
{
return GetSetting("ServerAccount");
}
}
public static String ServerPassword
{
get
{
return GetSetting("ServerPassword");
}
}
public static String ClientAccount
{
get
{
return GetSetting("ClientAccount");
}
}
public static String ClientPassword
{
get
{
return GetSetting("ClientPassword");
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am currently the CTO of
Metaco, we are leveraging the Bitcoin Blockchain for delivering financial services.
I also developed a tool to make IaaS on Azure more easy to use
IaaS Management Studio.
If you want to contact me, go
this way