private string BinPoolFind(ProtectedBinary pb) { if(pb == null) { Debug.Assert(false); return null; } foreach(KeyValuePair<string, ProtectedBinary> kvp in m_dictBinPool) { if(pb.EqualsValue(kvp.Value)) return kvp.Key; } return null; }