private void OnPasswordDataListAcquired(IntPtr list) { WebPasswordDataList passwordList = new WebPasswordDataList(list, true); passwordDataListAcquiredCallback?.Invoke(passwordList); passwordList.Dispose(); }
private void OnPasswordDataListAcquired(IntPtr alist) { if (passwordDataList != null) { passwordDataList.Dispose(); } passwordDataList = new WebPasswordDataList(alist, true); List <WebPasswordData> pList = new List <WebPasswordData>(); for (uint i = 0; i < passwordDataList.ItemCount; i++) { pList.Add(passwordDataList.GetItemAtIndex(i)); } passwordDataListAcquiredCallback?.Invoke(pList); }