INNER CODE UNIT · C#

ADObjectCache

wh0amitz/SharpADWS · SharpADWS/ADObjectCache.cs:12

    internal class ADObjectCache
    {
        public Dictionary<string, string> ObjectSidToNameCache = new Dictionary<string, string>();

        public ADObjectCache() { }

        public void AddCacheValue(SecurityIdentifier objectSid, string name) 
        {
            if (!this.ObjectSidToNameCache.ContainsKey(objectSid.ToString()))
            {
                this.ObjectSidToNameCache.Add(objectSid.ToString(), name);
            }
        }
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…