private void OnSecurityOriginListAcquired(IntPtr list) { WebSecurityOriginList originList = new WebSecurityOriginList(list, true); securityOriginListAcquiredCallback?.Invoke(originList); originList.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); }