init lserp cs 5.0

This commit is contained in:
cyf
2026-07-10 15:25:05 +08:00
commit 90f3fda86a
3799 changed files with 976868 additions and 0 deletions
@@ -0,0 +1,41 @@
namespace Cef3
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Cef3.Interop;
/// <summary>
/// Callback interface used for asynchronous continuation of authentication
/// requests.
/// </summary>
public sealed unsafe partial class CefAuthCallback
{
/// <summary>
/// Continue the authentication request.
/// </summary>
public void Continue(string username, string password)
{
if (username == null) throw new ArgumentNullException("username");
if (password == null) throw new ArgumentNullException("password");
fixed (char* username_str = username)
fixed (char* password_str = password)
{
var n_username = new cef_string_t(username_str, username.Length);
var n_password = new cef_string_t(password_str, password.Length);
cef_auth_callback_t.cont(_self, &n_username, &n_password);
}
}
/// <summary>
/// Cancel the authentication request.
/// </summary>
public void Cancel()
{
cef_auth_callback_t.cancel(_self);
}
}
}