else if (!registryData.ContainsKey(keyName))
{
keyInvolved = new RegistryKy(keyName);
lock (registryDataLock)
{
registryData.Add(keyName, keyInvolved);
}
processInvolved = new Proces(procInvolved);
keyInvolved.addProcessToDict(processInvolved);
}
keyName is a String which represents a registry key. keyInvolved is the actual registry key object.
I'm being told that im adding a key which already exists, yet i have already checked to see whether it is in there or not???