Jump to content

CEF question


Recommended Posts

My question is, I am using CSharp and want to transfer some stats to display on CEF.


So, on the CSharp - I have the variables:





How could I get them to display on a HTML page from the CSharp side of things?


Many thanks in advance!

Link to comment
Share on other sites

public static HtmlWindow CustomBrowser;
public static void CreateBrowser(string html, string closingFunction, params object[] args)
            if (CustomBrowser == null)
                // Create the browser
                CustomBrowser = new HtmlWindow("package://statics/html/" + html);

        public static void ExecuteFunction(string function, params object[] args)
            // Call the function with the parameters
            CustomBrowser.Call(function, args);


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...