Ejemplo n.º 1
0
        private void OnPasswordDataListAcquired(IntPtr list)
        {
            WebPasswordDataList passwordList = new WebPasswordDataList(list, true);

            passwordDataListAcquiredCallback?.Invoke(passwordList);
            passwordList.Dispose();
        }
Ejemplo n.º 2
0
        protected override void Dispose(DisposeTypes type)
        {
            if (Disposed)
            {
                return;
            }

            if (type == DisposeTypes.Explicit)
            {
                //Called by User
                //Release your own managed resources here.
                //You should release all of your own disposable objects here.
                if (passwordDataList != null)
                {
                    passwordDataList.Dispose();
                }
                if (securityOriginList != null)
                {
                    securityOriginList.Dispose();
                }
            }

            base.Dispose(type);
        }