private void OnPasswordDataListAcquired(IntPtr list) { WebPasswordDataList passwordList = new WebPasswordDataList(list, true); passwordDataListAcquiredCallback?.Invoke(passwordList); passwordList.Dispose(); }
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); }