P
pokémon
Just wondering if I need to add a Mutex around this section (and if so,
where) where multiple apps will be making the static method call:
public static bool GetDBConn(string dbName, out string connString, out
string dbType)
{
string XMLPath = ConfigurationSettings.AppSettings["xmlFilePath"];
XmlDocument ConnXMLDoc = new XmlDocument();
ConnXMLDoc.Load(XMLPath);
// ... etc ...
}
where) where multiple apps will be making the static method call:
public static bool GetDBConn(string dbName, out string connString, out
string dbType)
{
string XMLPath = ConfigurationSettings.AppSettings["xmlFilePath"];
XmlDocument ConnXMLDoc = new XmlDocument();
ConnXMLDoc.Load(XMLPath);
// ... etc ...
}