Microsoft.Web.WebView2.1.0.864.35/net45/Microsoft.Web.WebView2.Core.xml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 |
<?xml version="1.0"?>
<doc> <assembly> <name>Microsoft.Web.WebView2.Core</name> </assembly> <members> <member name="T:Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Staging"> </member> <member name="M:Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Staging.AddHostObjectHelper(Microsoft.Web.WebView2.Core.Raw.ICoreWebView2StagingHostObjectHelper)"> </member> <member name="T:Microsoft.Web.WebView2.Core.Raw.ICoreWebView2StagingHostObjectHelper"> </member> <member name="M:Microsoft.Web.WebView2.Core.Raw.ICoreWebView2StagingHostObjectHelper.IsMethodMember(System.Object@,System.String)"> </member> <member name="T:Microsoft.Web.WebView2.Core.Raw.BrowserInfo"> <summary> Browser version values from /chrome/VERSION </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.Raw.BrowserInfo.PRODUCT_VERSION"> <summary> Product Version </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"> <summary> This class is the owner of the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/> object, and provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. </summary> <remarks> The <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"/> owns the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/>, and if all references to the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"/> go away, the WebView will be closed. </remarks> <summary> The owner of the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/> object that provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. </summary> <remarks> The CoreWebView2Controller owns the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/>, and if all references to the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"/> go away, the WebView is closed. </remarks> <summary> The owner of the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/> object that provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. </summary> <remarks> The CoreWebView2Controller owns the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/>, and if all references to the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"/> go away, the WebView is closed. </remarks> <summary> The owner of the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/> object that provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. </summary> <remarks> The CoreWebView2Controller owns the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/>, and if all references to the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"/> go away, the WebView is closed. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"> <summary> Gets the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/> associated with this <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"/>. </summary> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Initialize"> <summary> Add .Net specific host object helper for the CoreWebView2 so that it can figure out whether a member is a method of an object. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.IsVisible"> <summary> Determines whether to show or hide the WebView. </summary> <remarks> If <c>IsVisible</c> is set to <c>false</c>, the WebView is transparent and is not rendered. However, this does not affect the window containing the WebView (the <c>ParentWindow</c> parameter that was passed to <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(System.IntPtr)"/>). If you want that window to disappear too, run <see cref="M:System.Windows.Forms.Control.Hide"/> or <see cref="!:System.Windows.Window.Hide"/> on it directly in addition to modifying this. WebView as a child window does not get window messages when the top window is minimized or restored. For performance reason, developer should set <c>IsVisible</c> property of the WebView to <c>false</c> when the app window is minimized and back to <c>true</c> when app window is restored. App window can do this by handling SC_MINIMIZE and SC_RESTORE command upon receiving <c>WM_SYSCOMMAND</c> message. </remarks> <seealso cref="M:System.Windows.Forms.Control.Hide"/> <seealso cref="!:System.Windows.Window.Hide"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"> <summary> Gets or sets the WebView bounds. </summary> <remarks> Bounds are relative to the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ParentWindow"/>. The app has two ways to position a WebView: <list type="bullet"> <item><description> Create a child HWND that is the WebView parent HWND. Position the window where the WebView should be. Use (0, 0) for the top-left corner (the offset) of the Bounds of the WebView. </description></item> <item><description> Use the top-most window of the app as the WebView parent HWND. For example, to position ebView correctly in the app, set the top-left corner of the Bounds of the WebView. </description></item> </list> The values of Bounds are limited by the coordinate space of the host. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"> <summary> Gets or sets the zoom factor for the WebView. </summary> <remarks> Note that changing zoom factor may cause <c>window.innerWidth</c> or <c>window.innerHeight</c> and page layout to change. A zoom factor that is applied by the host by setting this ZoomFactor property becomes the new default zoom for the WebView. This zoom factor applies across navigations and is the zoom factor WebView is returned to when the user presses Ctrl+0. When the zoom factor is changed by the user (resulting in the app receiving <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactorChanged"/>), that zoom applies only for the current page. Any user applied zoom is only for the current page and is reset on a navigation. Specifying a ZoomFactor less than or equal to 0 is not allowed. WebView also has an internal supported zoom factor range. When a specified zoom factor is out of that range, it is normalized to be within the range, and a <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactorChanged"/> event is raised for the real applied zoom factor. When this range normalization happens, this reports the zoom factor specified during the previous modification of the ZoomFactor property until the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactorChanged"/> event is received after WebView applies the normalized zoom factor. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ParentWindow"> <summary> Gets the parent window provided by the app or sets the parent window that this WebView is using to render content. </summary> <remarks> It initially returns the <c>ParentWindow</c> passed into <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(System.IntPtr)"/>. Setting the property causes the WebView to re-parent the main WebView window to the newly provided window. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactorChanged"> <summary> ZoomFactorChanged is raised when the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> property changes. </summary> <remarks> The event may be raised because the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> property was modified, or due to the user manually modifying the zoom. When it is modified using the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> property, the internal zoom factor is updated immediately and no ZoomFactorChanged event is raised. WebView associates the last used zoom factor for each site. It is possible for the zoom factor to change when navigating to a different page. When the zoom factor changes due to a navigation change, the ZoomFactorChanged event is raised right after the <see cref ="E:Microsoft.Web.WebView2.Core.CoreWebView2.ContentLoading"/> event. </remarks> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocusRequested"> <summary> MoveFocusRequested is raised when user tries to tab out of the WebView. </summary> <remarks> The focus of the WebView has not changed when this event is raised. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.GotFocus"> <summary> GotFocus is raised when WebView gets focus. </summary> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.LostFocus"> <summary> LostFocus is raised when WebView loses focus. </summary> <remarks> In the case where <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocusRequested"/> event is raised, the focus is still on WebView when <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocusRequested"/> event is raised. LostFocus is only raised afterwards when code of the app or default action of <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocusRequested"/> event sets focus away from WebView. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.AcceleratorKeyPressed"> <summary> AcceleratorKeyPressed is raised when an accelerator key or key combo is pressed or released while the WebView is focused. </summary> <remarks> A key is considered an accelerator if either of the following conditions are true: <list type="bullet"> <item><description> Ctrl or Alt is currently being held. </description></item> <item><description> The pressed key does not map to a character. </description></item> </list> A few specific keys are never considered accelerators, such as Shift. The Escape key is always considered an accelerator. Autorepeated key events caused by holding the key down will also raise this event. Filter out the auto-repeated key events by verifying <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.KeyEventLParam"/> or <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.PhysicalKeyStatus"/>. In windowed mode, this event is synchronous. Until you set <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.Handled"/> to <c>true</c> or the event handler returns, the browser process is blocked and outgoing cross-process COM calls will fail with RPC_E_CANTCALLOUT_ININPUTSYNCCALL. All <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.CoreWebView2"/> methods work, however. In windowless mode, the event is asynchronous. Further input do not reach the browser until the event handler returns or <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.Handled"/> is set to <c>true</c>, but the browser process is not blocked, and outgoing COM calls work normally. It is recommended to set <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.Handled"/> to <c>true</c> as early as you are able to know that you want to handle the accelerator key. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Controller.SetBoundsAndZoomFactor(System.Drawing.Rectangle,System.Double)"> <summary> Updates <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> and <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> properties at the same time. </summary> <param name="Bounds">The bounds to be updated.</param> <param name="ZoomFactor">The zoom factor to be updated.</param> <remarks> This operation is atomic from the perspective of the host. After returning from this function, the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> and <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> properties are both updated if the function is successful, or neither is updated if the function fails. If <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> and <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> are both updated by the same scale (for example, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> and <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> are both doubled), then the page does not display a change in <c>window.innerWidth</c> or <c>window.innerHeight</c> and the WebView renders the content at the new size and zoom without intermediate renderings. This function also updates just one of <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> or <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> by passing in the new value for one and the current value for the other. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocus(Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason)"> <summary> Moves focus into WebView. </summary> <param name="reason">The reason for moving focus.</param> <remarks> WebView will get focus and focus will be set to correspondent element in the page hosted in the WebView. For <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason.Programmatic"/> reason, focus is set to previously focused element or the default element if no previously focused element exists. For <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason.Next"/> reason, focus is set to the first element. For <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason.Previous"/> reason, focus is set to the last element. WebView changes focus through user interaction including selecting into a WebView or Tab into it. For tabbing, the app runs MoveFocus with <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason.Next"/> or <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason.Previous"/> to align with Tab and Shift+Tab respectively when it decides the WebView is the next tabbable element. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Controller.NotifyParentWindowPositionChanged"> <summary> Tells WebView that the main WebView parent (or any ancestor) HWND moved. </summary> <remarks> This is a notification separate from <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/>. This is needed for accessibility and certain dialogs in WebView to work correctly. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Close"> <summary> Closes the WebView and cleans up the underlying browser instance. </summary> <remarks> Cleaning up the browser instance releases the resources powering the WebView. The browser instance is shut down if no other WebViews are using it. After running Close, all methods fail and event handlers stop running. Specifically, the WebView releases the associated references to any associated event handlers when Close is run. Close is implicitly run when the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"/> loses the final reference and is destructed. But it is best practice to explicitly run Close to avoid any accidental cycle of references between the WebView and the app code. Specifically, if you capture a reference to the WebView in an event handler you create a reference cycle between the WebView and the event handler. Run Close to break the cycle by releasing all event handlers. But to avoid the situation, it is best to both explicitly run Close on the WebView and to not capture a reference to the WebView to ensure the WebView is cleaned up correctly. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.DefaultBackgroundColor"> <summary> Gets or sets the WebView default background color. </summary> <remarks> The DefaultBackgroundColor is the color that renders underneath all web content. This means WebView renders this color when there is no web content loaded such as before the initial navigation or between navigations. This also means web pages with undefined css background properties or background properties containing transparent pixels will render their contents over this color. Web pages with defined and opaque background properties that span the page will obscure the `DefaultBackgroundColor` and display normally. The default value for this property is white to resemble the native browser experience. Currently this API only supports opaque colors and transparency. It will fail for colors with alpha values that don't equal 0 or 255 ie. translucent colors are not supported. Choosing a transparent color will result in showing hosting app content. This means webpages without explicit background properties defined will render web content over hosting app content. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"> <summary> Gets or sets the WebView rasterization scale. </summary> <remarks> The rasterization scale is the combination of the monitor DPI scale and text scaling set by the user. This value should be updated when the DPI scale of the app's top level window changes (i.e. monitor DPI scale changes or the window changes monitor) or when the text scale factor of the system changes. Rasterization scale applies to the WebView content, as well as popups, context menus, scroll bars, and so on. Normal app scaling scenarios should use the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> property or <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2Controller.SetBoundsAndZoomFactor(System.Drawing.Rectangle,System.Double)"/> method. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ShouldDetectMonitorScaleChanges"> <summary> Determines whether the WebView will detect monitor scale changes. </summary> <remarks> ShouldDetectMonitorScaleChanges property determines whether the WebView attempts to track monitor DPI scale changes. When true, the WebView will track monitor DPI scale changes, update the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"/> property, and fire <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScaleChanged"/> event. When <c>false</c>, the WebView will not track monitor DPI scale changes, and the app must update the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"/> property itself. <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScaleChanged"/> event will never fire when ShouldDetectMonitorScaleChanges is false. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.BoundsMode"> <summary> Gets or sets the WebView bounds mode. </summary> <remarks> BoundsMode affects how setting the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> and <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"/> properties work. Bounds mode can either be in <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2BoundsMode.UseRawPixels"/> mode or <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2BoundsMode.UseRasterizationScale"/> mode. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScaleChanged"> <summary> RasterizationScalechanged is raised when the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"/> property changes. </summary> <remarks> The event is raised when the Webview detects that the monitor DPI scale has changed, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ShouldDetectMonitorScaleChanges"/> is true, and the Webview has changed the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"/> property. </remarks> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"/> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2Cookie"> <summary> Provides a set of properties that are used to manage a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Cookie"/>. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.ToSystemNetCookie"> <summary> Converts this to a System.Net.Cookie. </summary> <returns> An object whose <see cref="P:System.Net.Cookie.Name"/>, <see cref="P:System.Net.Cookie.Value"/>, <see cref="P:System.Net.Cookie.Path"/>, <see cref="P:System.Net.Cookie.Domain"/>, <see cref="P:System.Net.Cookie.HttpOnly"/>, <see cref="P:System.Net.Cookie.Secure"/>, and <see cref="P:System.Net.Cookie.Expires"/>, matches those <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Name"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Value"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Path"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Domain"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.IsHttpOnly"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.IsSecure"/>, and <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Expires"/> of this <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Cookie"/> object. </returns> <remarks> The values of the <see cref="T:System.Net.Cookie"/> properties other than those specified above remain their default values. </remarks> <seealso cref="T:System.Net.Cookie"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Expires"> <summary> The expiration date and time for the cookie since the UNIX epoch. </summary> <remarks> Setting the Expires property to <see cref="F:System.DateTime.MinValue"/> makes this a session cookie, which is its default value. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Name"> <summary> Get or sets the cookie name. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Value"> <summary> Gets or sets the cookie value. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Domain"> <summary> Gets the domain for which the cookie is valid. </summary> <remarks> The default value is the host that this cookie has been received from. Note that, for instance, <c>.bing.com</c>, <c>bing.com</c>, and <c>www.bing.com</c> are considered different domains. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Path"> <summary> Gets the path for which the cookie is valid. </summary> <remarks> The default value is "/", which means this cookie will be sent to all pages on the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Domain"/>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.IsHttpOnly"> <summary> Determines whether this cookie is http-only. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.SameSite"> <summary> Determines the SameSite status of the cookie which represents the enforcement mode of the cookie. </summary> <remarks> The default value is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2CookieSameSiteKind.Lax"/>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.IsSecure"> <summary> Gets or sets the security level of this cookie. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.IsSession"> <summary> Determines whether this is a session cookie. The default value is<c>false</c>. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager"> <summary> Creates, adds or updates, gets, or or view the cookies. </summary> <remarks> The changes would apply to the context of the user profile. That is, other WebViews under the same user profile could be affected. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.CreateCookieWithSystemNetCookie(System.Net.Cookie)"> <summary> Creates a CoreWebView2Cookie object whose params matches those of the given System.Net.Cookie. </summary> <param name="systemNetCookie"> A System.Net.Cookie whose params to be used to create a CoreWebView2Cookie. </param> <returns> An object whose <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Name"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Value"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Path"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Domain"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.IsHttpOnly"/>, <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.IsSecure"/>, and <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.Expires"/>, matches those <see cref="P:System.Net.Cookie.Name"/>, <see cref="P:System.Net.Cookie.Value"/>, <see cref="P:System.Net.Cookie.Path"/>, <see cref="P:System.Net.Cookie.Domain"/>, <see cref="P:System.Net.Cookie.HttpOnly"/>, <see cref="P:System.Net.Cookie.Secure"/>, and <see cref="P:System.Net.Cookie.Expires"/> of the given <see cref="T:System.Net.Cookie"/> object. </returns> <remarks> The default value for the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Cookie.SameSite"/> property of the returned <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Cookie"/> object is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2CookieSameSiteKind.Lax"/>. </remarks> <seealso cref="T:System.Net.Cookie"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.CreateCookie(System.String,System.String,System.String,System.String)"> <summary> Creates a cookie object with a specified name, value, domain, and path. </summary> <remarks> One can set other optional properties after cookie creation. This only creates a cookie object and it is not added to the cookie manager until you call <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.AddOrUpdateCookie(Microsoft.Web.WebView2.Core.CoreWebView2Cookie)"/>. name that starts with whitespace(s) is not allowed. </remarks> <param name="name">The name for the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Cookie"/> to be created. It cannot start with whitespace(s).</param> <param name="value"></param> <param name="Domain"></param> <param name="Path"></param> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.CopyCookie(Microsoft.Web.WebView2.Core.CoreWebView2Cookie)"> <summary> Creates a cookie whose params matches those of the specified cookie. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.GetCookiesAsync(System.String)"> <summary> Gets a list of cookies matching the specific URI. </summary> <remarks> You can modify the cookie objects by calling <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.AddOrUpdateCookie(Microsoft.Web.WebView2.Core.CoreWebView2Cookie)"/>, and the changes will be applied to the webview. </remarks> <param name="uri">If uri is empty string or null, all cookies under the same profile are returned.</param> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.AddOrUpdateCookie(Microsoft.Web.WebView2.Core.CoreWebView2Cookie)"> <summary> Adds or updates a cookie with the given cookie data; may overwrite cookies with matching name, domain, and path if they exist. </summary> <param name="cookie">The <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Cookie"/> to be added or updated.</param> <remarks> This method will fail if the domain of the given cookie is not specified. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.DeleteCookie(Microsoft.Web.WebView2.Core.CoreWebView2Cookie)"> <summary> Deletes a cookie whose name and domain/path pair match those of the specified cookie. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.DeleteCookies(System.String,System.String)"> <summary> Deletes cookies with matching name and uri. </summary> <param name="name">The name for the cookies to be deleted is required.</param> <param name="uri">If uri is specified, deletes all cookies with the given name where domain and path match provided URI.</param> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.DeleteCookiesWithDomainAndPath(System.String,System.String,System.String)"> <summary> Deletes cookies with matching name and domain/path pair. </summary> <param name="name">The name for the cookies to be deleted is required.</param> <param name="Domain">If domain is specified, deletes only cookies with the exact domain.</param> <param name="Path">If path is specified, deletes only cookies with the exact path.</param> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager.DeleteAllCookies"> <summary> Deletes all cookies under the same profile. </summary> <remarks> This could affect other WebViews under the same user profile. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2Environment"> <summary> This represents the WebView2 Environment. </summary> <remarks> WebViews created from an environment run on the Browser process specified with environment parameters and objects created from an environment should be used in the same environment. Using it in different environments are not guaranteed to be compatible and may fail. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateAsync(System.String,System.String,Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions)"> <summary> Creates a WebView2 Environment using the installed or a custom WebView2 Runtime version. </summary> <param name="browserExecutableFolder"> The relative path to the folder that contains a custom version of WebView2 Runtime. <para> To use a fixed version of the WebView2 Runtime, pass the relative folder path that contains the fixed version of the WebView2 Runtime to <c>browserExecutableFolder</c>. To create WebView2 controls that use the installed version of the WebView2 Runtime that exists on user machines, pass a <c>null</c> or empty string to <c>browserExecutableFolder</c>. In this scenario, the API tries to find a compatible version of the WebView2 Runtime that is installed on the user machine (first at the machine level, and then per user) using the selected channel preference. The path of fixed version of the WebView2 Runtime should not contain _\Edge\Application\_. When such a path is used, the API fails with <c>ERROR_NOT_SUPPORTED</c>. </para> </param> <param name="userDataFolder"> The user data folder location for WebView2. <para> The path is either an absolute file path or a relative file path that is interpreted as relative to the compiled code for the current process. The default user data _{Executable File Name}.WebView2_ folder is created in the same directory next to the compiled code for the app. WebView2 creation fails if the compiled code is running in a directory in which the process does not have permission to create a new directory. The app is responsible to clean up the associated user data folder when it is done. </para> </param> <param name="options"> Options used to create WebView2 Environment. <para> As a browser process may be shared among WebViews, WebView creation fails if the specified <c>options</c> does not match the options of the WebViews that are currently running in the shared browser process. </para> </param> <remarks> <para> The default channel search order is the WebView2 Runtime, Beta, Dev, and Canary. When an override <c>WEBVIEW2_RELEASE_CHANNEL_PREFERENCE</c> environment variable or applicable <c>releaseChannelPreference</c> registry value is set to <c>1</c>, the channel search order is reversed. </para> <para> To use a fixed version of the WebView2 Runtime, pass the relative folder path that contains the fixed version of the WebView2 Runtime to <c>browserExecutableFolder</c>. To create WebView2 controls that use the installed version of the WebView2 Runtime that exists on user machines, pass a <c>null</c> or empty string to <c>browserExecutableFolder</c>. In this scenario, the API tries to find a compatible version of the WebView2 Runtime that is installed on the user machine (first at the machine level, and then per user) using the selected channel preference. The path of fixed version of the WebView2 Runtime should not contain _\Edge\Application\_. When such a path is used, the API fails with the following error. </para> <para> The <paramref name="browserExecutableFolder"/>, <paramref name="userDataFolder"/>, and <paramref name="options"/> may be overriden by values either specified in environment variables or in the registry. </para> <para> When creating a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Environment"/> the following environment variables are verified. </para> <code> WEBVIEW2_BROWSER_EXECUTABLE_FOLDER WEBVIEW2_USER_DATA_FOLDER WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS WEBVIEW2_RELEASE_CHANNEL_PREFERENCE </code> <para> If browser executable folder or user data folder is specified in an environment variable or in the registry, the specified <paramref name="browserExecutableFolder"/> or <paramref name="userDataFolder"/> values are overridden. If additional browser arguments are specified in an environment variable or in the registry, it is appended to the corresponding value in the specified <paramref name="options"/>. </para> <para> While not strictly overrides, additional environment variables may be set. </para> <code> WEBVIEW2_WAIT_FOR_SCRIPT_DEBUGGER </code> <para> When found with a non-empty value, this indicates that the WebView is being launched under a script debugger. In this case, the WebView issues a <c>Page.waitForDebugger</c> CDP command that runs the script inside the WebView to pause on launch, until a debugger issues a corresponding <c>Runtime.runIfWaitingForDebugger</c> CDP command to resume the runtime. Note that this environment variable does not have a registry key equivalent. </para> <code> WEBVIEW2_PIPE_FOR_SCRIPT_DEBUGGER </code> <para> When found with a non-empty value, it indicates that the WebView is being launched under a script debugger that also supports host apps that use multiple WebViews. The value is used as the identifier for a named pipe that is opened and written to when a new WebView is created by the host app. The payload should match the payload of the <c>remote-debugging-port</c> JSON target and an external debugger may use it to attach to a specific WebView instance. The format of the pipe created by the debugger should be <c>\\.\pipe\WebView2\Debugger\{app_name}\{pipe_name}</c>, where the following are true. <list type="bullet"> <item><description><c>{app_name}</c> is the host app exe file name, for example, <c>WebView2Example.exe</c></description></item> <item><description><c>{pipe_name}</c> is the value set for <c>WEBVIEW2_PIPE_FOR_SCRIPT_DEBUGGER</c></description></item> </list> To enable debugging of the targets identified by the JSON, you must set the <c>WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS</c> environment variable to send <c>--remote-debugging-port={port_num}</c>, where the following is true. <list type="bullet"> <item><description><c>{port_num}</c> is the port on which the CDP server binds.</description></item> </list> If both <c>WEBVIEW2_PIPE_FOR_SCRIPT_DEBUGGER</c> and <c>WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS</c> environment variables, the WebViews hosted in your app and associated contents may exposed to 3rd party apps such as debuggers. Note that this environment variable does not have a registry key equivalent. </para> <para> If none of those environment variables exist, then the registry is examined next. </para> <code> [{Root}]\Software\Policies\Microsoft\Edge\WebView2\BrowserExecutableFolder "{AppId}"="" [{Root}]\Software\Policies\Microsoft\Edge\WebView2\ReleaseChannelPreference "{AppId}"="" [{Root}]\Software\Policies\Microsoft\Edge\WebView2\AdditionalBrowserArguments "{AppId}"="" [{Root}]\Software\Policies\Microsoft\Edge\WebView2\UserDataFolder "{AppId}"="" </code> <para> Use a group policy under **Administrative Templates** > **Microsoft Edge WebView2** to configure browser executable folder and release channel preference. </para> <para> In the unlikely scenario where some instances of WebView are open during a browser update, the deletion of the previous WebView2 Runtime may be blocked. To avoid running out of disk space, a new WebView creation fails with the following error if it detects that too many previous WebView2 Runtime versions exist. </para> <code> ERROR_DISK_FULL </code> <para> The default maximum number of WebView2 Runtime versions allowed is <c>20</c>. To override the maximum number of the previous WebView2 Runtime versions allowed, set the value of the following environment variable. </para> <code> WEBVIEW2_MAX_INSTANCES </code> <para> If the Webview depends upon an installed WebView2 Runtime version and it is uninstalled, any subsequent creation fails with the following error. </para> <code> ERROR_PRODUCT_UNINSTALLED </code> <para> First verify with Root as <c>HKLM</c> and then <c>HKCU</c>. <c>AppId</c> is first set to the Application User Model ID of the process, then if no corresponding registry key, the <c>AppId</c> is set to the compiled code name of the process, or if that is not a registry key then <c>*</c>. If an override registry key is found, use the <c>browserExecutableFolder</c> and <c>userDataFolder</c> registry values as replacements and append <c>additionalBrowserArguments</c> registry values for the corresponding values in the provided <paramref name="options"/>. </para> </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.GetAvailableBrowserVersionString(System.String)"> <summary> Gets the browser version info including channel name if it is not the stable channel or WebView2 Runtime. </summary> <param name="browserExecutableFolder"> The relative path to the folder that contains the WebView2 Runtime. </param> <exception cref="T:Microsoft.Web.WebView2.Core.WebView2RuntimeNotFoundException"> WebView2 Runtime installation is missing. </exception> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CompareBrowserVersions(System.String,System.String)"> <summary> Compares two instances of browser versions correctly and returns an integer that indicates whether the first instance is older, the same as, or newer than the second instance. </summary> <param name="version1"> One of the version strings to compare. </param> <param name="version2"> The other version string to compare. </param> <returns> An integer that indicates whether the first instance is older, the same as, or newer than the second instance. <list type="table"> <listheader> <description>Value Type</description> <description>Condition</description> </listheader> <item> <description>Less than zero</description> <description><c>version1</c> is older than <c>version2</c>.</description> </item> <item> <description>Zero</description> <description><c>version1</c> is the same as <c>version2</c>.</description> </item> <item> <description>Greater than zero</description> <description><c>version1</c> is newer than <c>version2</c>.</description> </item> </list> </returns> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateWebResourceRequest(System.String,System.String,System.IO.Stream,System.String)"> <summary> Creates a new <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest"/> object. </summary> <param name="uri">The request URI.</param> <param name="Method">The HTTP request method.</param> <param name="postData"></param> <param name="Headers">The raw request header string delimited by CRLF (optional in last header).</param> <remarks> <c>uri</c> parameter must be absolute URI. It's also possible to create this object with <c>null</c> headers string and then use the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders"/> to construct the headers line by line. </remarks> <seealso cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Environment.BrowserVersionString"> <summary> Gets the browser version info of the current <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Environment"/>, including channel name if it is not the stable channel. </summary> <remarks> It matches the format of the <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.GetAvailableBrowserVersionString(System.String)"/> method. Channel names are <c>beta</c>, <c>dev</c>, and <c>canary</c>. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2Environment.NewBrowserVersionAvailable"> <summary> NewBrowserVersionAvailable is raised when a newer version of the WebView2 Runtime is installed and available using WebView2. </summary> <remarks> To use the newer version of the browser you must create a new environment and WebView. The event is only raised for new version from the same WebView2 Runtime from which the code is running. When not running with installed WebView2 Runtime, no event is raised. Because a user data folder is only able to be used by one browser process at a time, if you want to use the same user data folder in the WebViews using the new version of the browser, you must close the environment and instance of WebView that are using the older version of the browser first. Or simply prompt the user to restart the app. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(System.IntPtr)"> <summary> Asynchronously creates a new WebView. </summary> <param name="ParentWindow">The HWND in which the WebView should be displayed and from which receive input.</param> <remarks> The WebView adds a child window to the provided window during WebView creation. Z-order and other things impacted by sibling window order are affected accordingly. <para> It is recommended that the application set Application User Model ID for the process or the application window. If none is set, during WebView creation a generated Application User Model ID is set to root window of <c>ParentWindow</c>. </para> <para> It is recommended that the app handles restart manager messages, to gracefully restart it in the case when the app is using the WebView2 Runtime from a certain installation and that installation is being uninstalled. For example, if a user installs a version of the WebView2 Runtime and opts to use another version of the WebView2 Runtime for testing the app, and then uninstalls the 1st version of the WebView2 Runtime without closing the app, the app restarts to allow un-installation to succeed. </para> <para> When the app retries CreateCoreWebView2ControllerAsync upon failure, it is recommended that the app restarts from creating a new WebView2 Environment. If a WebView2 Runtime update happens, the version associated with a WebView2 Environment may have been removed and causing the object to no longer work. Creating a new WebView2 Environment works since it uses the latest version. </para> <para> WebView creation fails if a running instance using the same user data folder exists, and the Environment objects have different <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions"/>. For example, if a WebView was created with one <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions.Language"/>, an attempt to create a WebView with a different <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions.Language"/> using the same user data folder fails. </para> </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateWebResourceResponse(System.IO.Stream,System.Int32,System.String,System.String)"> <summary> Creates a new <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse"/> object. </summary> <param name="Content">HTTP response content as stream.</param> <param name="StatusCode">The HTTP response status code.</param> <param name="ReasonPhrase">The HTTP response reason phrase.</param> <param name="Headers">The raw response header string delimited by newline.</param> <remarks> It is also possible to create this object with empty headers string and then use the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders"/> to construct the headers line by line. </remarks> <seealso cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2CompositionControllerAsync(System.IntPtr)"> <summary> Asynchronously creates a new WebView for use with visual hosting. </summary> <param name="ParentWindow">The HWND in which the app will connect the visual tree of the WebView.</param> <remarks> <c>ParentWindow</c> will be the HWND that the app will receive pointer/mouse input meant for the WebView (and will need to use <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SendMouseInput(Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind,Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys,System.UInt32,System.Drawing.Point)"/> or <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SendPointerInput(Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind,Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo)"/> to forward). If the app moves the WebView visual tree to underneath a different window, then it needs to set <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ParentWindow"/> to update the new parent HWND of the visual tree. Set <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.RootVisualTarget"/> property on the created <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController"/> to provide a visual to host the browser's visual tree. It is recommended that the application set Application User Model ID for the process or the application window. If none is set, during WebView creation a generated Application User Model ID is set to root window of <c>ParentWindow</c>. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2PointerInfo"> <summary> Creates an empty <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo"/>. </summary> <remarks> The returned <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo"/> needs to be populated with all of the relevant info before calling <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SendPointerInput(Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind,Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo)"/>. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions"> <summary> Options used to create WebView2 Environment. </summary> <remarks> Default values will use your defaulted Edge browser and user data folder. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions.#ctor(System.String,System.String,System.String,System.Boolean)"> <summary> Initializes a new instance of the CoreWebView2EnvironmentOptions class. </summary> <param name="additionalBrowserArguments"> AdditionalBrowserArguments can be specified to change the behavior of the WebView. </param> <param name="language"> The default language that WebView will run with. </param> <param name="targetCompatibleBrowserVersion"> The version of the Edge WebView2 Runtime binaries required to be compatible with the calling application. </param> <param name="allowSingleSignOnUsingOSPrimaryAccount"> Set to true if single sign on be enabled using the end user's OS primary account. Defaults to false. </param> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions.AdditionalBrowserArguments"> <summary> Gets or sets the additional browser arguments to change the behavior of the WebView. </summary> <remarks> <para> The arguments are passed to the browser process as part of the command. For more information about using command-line switches with Chromium browser processes, navigate to [Run Chromium with Flags](https://aka.ms/RunChromiumWithFlags). The value appended to a switch is appended to the browser process, for example, in <c>--edge-webview-switches=xxx</c> the value is <c>xxx</c>. If you specify a switch that is important to WebView functionality, it is ignore, for example, <c>--user-data-dir</c>. Specific features are disabled internally and blocked from being enabled. If a switch is specified multiple times, only the last instance is used. </para> <para> A merge of the different values of the same switch is not attempted, except for disabled and enabled features. The features specified by <c>--enable-features</c> and <c>--disable-features</c> will be merged with simple logic: <list type="bullet"> <item><description> The features are the union of the specified features and built-in features. If a feature is disabled, it is removed from the enabled features list. </description></item> </list> </para> <para> If you specify command-line switches and sets this property, the <c>--edge-webview-switches</c> value takes precedence and is processed last. If a switch fails to parse, the switch is ignored. The default state for the operation is to run the browser process with no extra flags. </para> </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions.Language"> <summary> Gets or sets the default display language for WebView. </summary> <remarks> It applies to browser UIs such as context menu and dialogs. It also applies to the <c>accept-languages</c> HTTP header that WebView sends to websites. It is in the format of <c>language[-country]</c> where <c>language</c> is the 2-letter code from [ISO 639](https://www.iso.org/iso-639-language-codes.html) and <c>country</c> is the 2-letter code from [ISO 3166](https://www.iso.org/standard/72482.html). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions.TargetCompatibleBrowserVersion"> <summary> Gets or sets the version of the WebView2 Runtime binaries required to be compatible with the your app. </summary> <remarks> This defaults to the WebView2 Runtime version that corresponds with the version of the SDK the app is using. The format of this value is the same as the format of the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Environment.BrowserVersionString"/> property and other BrowserVersion values. Only the version part of the BrowserVersion value is respected. The channel suffix, if it exists, is ignored. The version of the WebView2 Runtime binaries actually used may be different from the specified TargetCompatibleBrowserVersion. They binaries are only guaranteed to be compatible. Verify the actual version on the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Environment.BrowserVersionString"/> property. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions.AllowSingleSignOnUsingOSPrimaryAccount"> <summary> Determines whether to enable single sign on with Azure Active Directory (AAD) resources inside WebView using the logged in Windows account and single sign on (SSO) with web sites using Microsoft account associated with the login in Windows account. </summary> <remarks> The default value is <c>false</c>. Universal Windows Platform apps must also declare <c>enterpriseCloudSSO</c> [restricted capability](https://docs.microsoft.com/windows/uwp/packaging/app-capability-declarations#restricted-capabilities) for the single sign on (SSO) to work. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2HostObjectHelper"> <summary> This represents a helper object for Host Objects. </summary> <remarks> This object helps CoreWebView2 interact with managed Host Objects correctly. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HostObjectHelper.IsMethodMember(System.Object,System.String)"> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HostObjectHelper.#ctor"> <summary> Create a new instance of CoreWebView2HostObjectHelper. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HostObjectHelper.RawHelper.IsMethodMember(System.Object@,System.String)"> <summary> Check whether a member is a method of an object. </summary> <param name="rawObject"> The host object to check. </param> <param name="memberName"> The name of the member to check. </param> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator"> <inheritdoc/> <summary> Iterator for a collection of HTTP headers. </summary> <seealso cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders"/> <seealso cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders"/> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator.isInitialized"> <summary> Indicate the iterator is initialized or not, default to false. The isInitialized is used to indicate if the iterator starts for the first time. It will be used in MoveNext function. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator.MoveNext"> <inheritdoc/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator.Reset"> <summary> No COM support; throws <see cref="T:System.NotSupportedException"/> instead. </summary> <exception cref="T:System.NotSupportedException"> No COM support. </exception> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator.Dispose"> <inheritdoc/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator.Current"> <summary> Gets the header in <see cref="!:System.Collections.Generic.KeyValuePair"/> in the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders"/> or <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders"/> collection at the current position of the enumerator. </summary> <exception cref="T:System.InvalidOperationException"></exception> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator.HasCurrentHeader"> <summary> <c>true</c> when the iterator has not run out of headers. </summary> <remarks> If the collection over which the iterator is iterating is empty or if the iterator has gone past the end of the collection then this is <c>false</c>. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator.GetCurrentHeader(System.String@,System.String@)"> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders"> <summary> HTTP request headers. </summary> <remarks> Used to inspect the HTTP request on <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event and <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> event. It is possible to modify the HTTP request headers from a <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event, but not from a <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> event. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders.System#Collections#IEnumerable#GetEnumerator"> <inheritdoc/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{System#String,System#String}}#GetEnumerator"> <inheritdoc/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders.GetEnumerator"> <summary> Returns an enumerator that iterates through the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders"/> or <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders"/> collection. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders.GetHeader(System.String)"> <summary> Gets the header value matching the name. </summary> <returns>The header value matching the name.</returns> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders.GetHeaders(System.String)"> <summary> Gets the header value matching the name using a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator"/>. </summary> <returns>The header value matching the name.</returns> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders.Contains(System.String)"> <summary> Checks whether the headers contain an entry that matches the header name. </summary> <returns>Whether the headers contain an entry that matches the header name.</returns> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders.SetHeader(System.String,System.String)"> <summary> Adds or updates header that matches the name. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders.RemoveHeader(System.String)"> <summary> Removes header that matches the name. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders.GetIterator"> <summary> Gets a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator"/> over the collection of request headers. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders"> <summary> HTTP response headers. </summary> <remarks> Used to construct a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse"/> for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders.System#Collections#IEnumerable#GetEnumerator"> <inheritdoc/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{System#String,System#String}}#GetEnumerator"> <inheritdoc/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders.GetEnumerator"> <summary> Returns an enumerator that iterates through the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders"/> or <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders"/> collection. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders.AppendHeader(System.String,System.String)"> <summary> Appends header line with name and value. </summary> <param name="name">The header name to be appended.</param> <param name="value">The header value to be appended.</param> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders.Contains(System.String)"> <summary> Checks whether this CoreWebView2HttpResponseHeaders contain entries matching the header name. </summary> <param name="name">The name of the header to seek.</param> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders.GetHeader(System.String)"> <summary> Gets the first header value in the collection matching the name. </summary> <param name="name">The header name.</param> <returns>The first header value in the collection matching the name.</returns> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders.GetHeaders(System.String)"> <summary> Gets the header values matching the name. </summary> <param name="name">The header name.</param> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders.GetIterator"> <summary> Gets a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator"/> over the collection of entire <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders"/>. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2InitializationCompletedEventArgs"> <summary> Event args for the CoreWebView2InitializationCompleted event. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2InitializationCompletedEventArgs.#ctor(System.Exception)"> <summary> Initializes a new instance of the CoreWebView2InitializationCompletedEventArgs class. </summary> <param name="ex"> Exception that occurred during initialization, or null if initialization was successful. </param> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2InitializationCompletedEventArgs.IsSuccess"> <summary> True if the init task completed successfully. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2InitializationCompletedEventArgs.InitializationException"> <summary> The exception thrown from the init task. If the task completed successfully, this property is null. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2Deferral"> <summary> This is used to complete deferrals on event args that support getting deferrals using the <c>GetDeferral</c> method. This class implements <see cref="T:System.IDisposable"/>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2Deferral.handle"> Wraps in SafeHandle so resources can be released if consumer forgets to call Dispose. Recommended pattern for any type that is not sealed. https://docs.microsoft.com/dotnet/api/system.idisposable#idisposable-and-the-inheritance-hierarchy </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Deferral.Dispose"> <inheritdoc/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Deferral.Dispose(System.Boolean)"> <summary> Protected implementation of Dispose pattern. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2Deferral.Complete"> <summary> Completes the associated deferred event. </summary> <remarks> Complete should only be run once for each deferral taken. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.HostObjectHelper"> <summary> This represents a helper object for Host Objects. </summary> <remarks> This object helps CoreWebView2 interact with managed Host Objects correctly. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.HostObjectHelper.IsMethod(System.Object,System.String)"> <summary> Check whether a member is a method of an object. </summary> <param name="obj"> The host object to check. </param> <param name="name"> The name of the member to check. </param> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.#ctor(System.IO.Stream)"> <summary> Constructor </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#Read(System.Byte[],System.Int32,System.IntPtr)"> <summary> Read at most bufferSize bytes into buffer and return the effective number of bytes read in bytesReadPtr (unless null). </summary> <remarks> mscorlib disassembly shows the following MarshalAs parameters void Read([Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=1)] byte[] pv, int cb, IntPtr pcbRead); This means marshaling code will have found the size of the array buffer in the parameter bufferSize. </remarks> <SecurityNote> Critical: calls Marshal.WriteInt32 which LinkDemands, takes pointers as input </SecurityNote> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#Seek(System.Int64,System.Int32,System.IntPtr)"> <summary> Move the stream pointer to the specified position. </summary> <remarks> System.IO.stream supports searching past the end of the stream, like OLE streams. newPositionPtr is not an out parameter because the method is required to accept NULL pointers. </remarks> <SecurityNote> Critical: calls Marshal.WriteInt64 which LinkDemands, takes pointers as input </SecurityNote> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#SetSize(System.Int64)"> <summary> Sets stream's size. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#Stat(System.Runtime.InteropServices.ComTypes.STATSTG@,System.Int32)"> <summary> Obtain stream stats. </summary> <remarks> STATSG has to be qualified because it is defined both in System.Runtime.InteropServices and System.Runtime.InteropServices.ComTypes. The STATSTG structure is shared by streams, storages and byte arrays. Members irrelevant to streams or not available from System.IO.Stream are not returned, which leaves only cbSize and grfMode as meaningful and available pieces of information. grfStatFlag is used to indicate whether the stream name should be returned and is ignored because this information is unavailable. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#Write(System.Byte[],System.Int32,System.IntPtr)"> <summary> Write at most bufferSize bytes from buffer. </summary> <SecurityNote> Critical: calls Marshal.WriteInt32 which LinkDemands, takes pointers as input </SecurityNote> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#Clone(System.Runtime.InteropServices.ComTypes.IStream@)"> <summary> Create a clone. </summary> <remarks> Not implemented. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#CopyTo(System.Runtime.InteropServices.ComTypes.IStream,System.Int64,System.IntPtr,System.IntPtr)"> <summary> Read at most bufferSize bytes from the receiver and write them to targetStream. </summary> <remarks> Not implemented. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#Commit(System.Int32)"> <summary> Commit changes. </summary> <remarks> Only relevant to transacted streams. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#LockRegion(System.Int64,System.Int64,System.Int32)"> <summary> Lock at most byteCount bytes starting at offset. </summary> <remarks> Not supported by System.IO.Stream. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#Revert"> <summary> Undo writes performed since last Commit. </summary> <remarks> Relevant only to transacted streams. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.ManagedIStream.System#Runtime#InteropServices#ComTypes#IStream#UnlockRegion(System.Int64,System.Int64,System.Int32)"> <summary> Unlock the specified region. </summary> <remarks> Not supported by System.IO.Stream. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.WebView2RuntimeNotFoundException"> <summary> The exception that is thrown when an WebView2 Runtime installation is missing. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.WebView2RuntimeNotFoundException.#ctor"> <summary> Initializes a new instance of the WebView2RuntimeNotFoundException class. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.WebView2RuntimeNotFoundException.#ctor(System.String)"> <summary> Initializes a new instance of the WebView2RuntimeNotFoundException class with a specified error message. </summary> <param name="message"> The error message that explains the reason for the exception. </param> </member> <member name="M:Microsoft.Web.WebView2.Core.WebView2RuntimeNotFoundException.#ctor(System.Exception)"> <summary> Initializes a new instance of the WebView2RuntimeNotFoundException class with a reference to the inner exception that is the cause of this exception. </summary> <param name="inner"> The exception that is the cause of the current exception. </param> </member> <member name="M:Microsoft.Web.WebView2.Core.WebView2RuntimeNotFoundException.#ctor(System.String,System.Exception)"> <summary> Initializes a new instance of the WebView2RuntimeNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception. </summary> <param name="message"> The error message that explains the reason for the exception. </param> <param name="inner"> The exception that is the cause of the current exception. </param> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext"> <summary> Specifies the web resource request contexts. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.All"> <summary> Specifies all resources. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Document"> <summary> Specifies a document resources. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Stylesheet"> <summary> Specifies a CSS resources. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Image"> <summary> Specifies an image resources. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Media"> <summary> Specifies another media resource such as a video. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Font"> <summary> Specifies a font resource. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Script"> <summary> Specifies a script resource. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.XmlHttpRequest"> <summary> Specifies an XML HTTP request. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Fetch"> <summary> Specifies a Fetch API communication. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.TextTrack"> <summary> Specifies a TextTrack resource. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.EventSource"> <summary> Specifies an EventSource API communication. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Websocket"> <summary> Specifies a WebSocket API communication. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Manifest"> <summary> Specifies a Web App Manifest. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.SignedExchange"> <summary> Specifies a Signed HTTP Exchange. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Ping"> <summary> Specifies a Ping request. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.CspViolationReport"> <summary> Specifies a CSP Violation Report. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext.Other"> <summary> Specifies an other resource. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus"> <summary> Indicates the error status values for web navigations. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.Unknown"> <summary> Indicates that an unknown error occurred. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.CertificateCommonNameIsIncorrect"> <summary> Indicates that the SSL certificate common name does not match the web address. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.CertificateExpired"> <summary> Indicates that the SSL certificate has expired. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.ClientCertificateContainsErrors"> <summary> Indicates that the SSL client certificate contains errors. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.CertificateRevoked"> <summary> Indicates that the SSL certificate has been revoked. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.CertificateIsInvalid"> <summary> Indicates that the SSL certificate is not valid. The certificate may not match the public key pins for the host name, the certificate is signed by an untrusted authority or using a weak sign algorithm, the certificate claimed DNS names violate name constraints, the certificate contains a weak key, the validity period of the certificate is too long, lack of revocation information or revocation mechanism, non-unique host name, lack of certificate transparency information, or the certificate is chained to a [legacy Symantec root](https://security.googleblog.com/2018/03/distrust-of-symantec-pki-immediate.html). </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.ServerUnreachable"> <summary> Indicates that the host is unreachable. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.Timeout"> <summary> Indicates that the connection has timed out. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.ErrorHttpInvalidServerResponse"> <summary> Indicates that the server returned an invalid or unrecognized response. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.ConnectionAborted"> <summary> Indicates that the connection was stopped. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.ConnectionReset"> <summary> Indicates that the connection was reset. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.Disconnected"> <summary> Indicates that the Internet connection has been lost. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.CannotConnect"> <summary> Indicates that a connection to the destination was not established. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.HostNameNotResolved"> <summary> Indicates that the provided host name was not able to be resolved. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.OperationCanceled"> <summary> Indicates that the operation was canceled. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.RedirectFailed"> <summary> Indicates that the request redirect failed. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus.UnexpectedError"> <summary> An unexpected error occurred. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogKind"> <summary> Specifies the JavaScript dialog kind used in <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs"/>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogKind.Alert"> <summary> Indicates that the dialog uses <c>window.alert</c> JavaScript function. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogKind.Confirm"> <summary> Indicates that the dialog uses <c>window.confirm</c> JavaScript function. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogKind.Prompt"> <summary> Indicates that the dialog uses <c>window.prompt</c> JavaScript function. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogKind.Beforeunload"> <summary> Indicates that the dialog uses <c>window.beforeunload</c> JavaScript event. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason"> <summary> Specifies the process failure reason used in <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs"/>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason.Unexpected"> <summary> Indicates that an unexpected process failure occurred. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason.Unresponsive"> <summary> Indicates that the process became unresponsive. This only applies to the main frame's render process. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason.Terminated"> <summary> Indicates that the process was terminated. For example, from Task Manager. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason.Crashed"> <summary> Indicates that the process crashed. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason.LaunchFailed"> <summary> Indicates that the process failed to launch. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason.OutOfMemory"> <summary> Indicates that the process died due to running out of memory. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind"> <summary> Specifies the process failure kind used in <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs"/>. </summary> <remarks> The values in this enum make reference to the process kinds in the Chromium architecture. For more information about what these processes are and what they do, see [Browser Architecture - Inside look at modern web browser](https://developers.google.com/web/updates/2018/09/inside-browser-part1). </remarks> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.BrowserProcessExited"> <summary> Indicates that the browser process ended unexpectedly. The WebView automatically moves to the Closed state. The app has to recreate a new WebView to recover from this failure. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.RenderProcessExited"> <summary> Indicates that the main frame's render process ended unexpectedly. A new render process is created automatically and navigated to an error page. You can use the <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.Reload"/> method to try reload the page that failed. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.RenderProcessUnresponsive"> <summary> Indicates that the main frame's render process is unresponsive. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.FrameRenderProcessExited"> <summary> Indicates that a frame-only render process ended unexpectedly. The process exit does not affect the top-level document, only a subset of the subframes within it. The content in these frames is replaced with an error page in the frame. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.UtilityProcessExited"> <summary> Indicates that a utility process ended unexpectedly. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.SandboxHelperProcessExited"> <summary> Indicates that a sandbox helper process ended unexpectedly. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.GpuProcessExited"> <summary> Indicates that the GPU process ended unexpectedly. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.PpapiPluginProcessExited"> <summary> Indicates that a PPAPI plugin process ended unexpectedly. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.PpapiBrokerProcessExited"> <summary> Indicates that a PPAPI plugin broker process ended unexpectedly. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.UnknownProcessExited"> <summary> Indicates that a process of unspecified kind ended unexpectedly. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind"> <summary> Pointer event kind used by <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SendPointerInput(Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind,Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo)"/> to convey the kind of pointer event being sent to WebView. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind.Activate"> <summary> Corresponds to <c>WM_POINTERACTIVATE</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind.Down"> <summary> Corresponds to <c>WM_POINTERDOWN</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind.Enter"> <summary> Corresponds to <c>WM_POINTERENTER</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind.Leave"> <summary> Corresponds to <c>WM_POINTERLEAVE</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind.Up"> <summary> Corresponds to <c>WM_POINTERUP</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind.Update"> <summary> Corresponds to <c>WM_POINTERUPDATE</c>. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2PermissionState"> <summary> Specifies the response to a permission request. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionState.Default"> <summary> Specifies that the default browser behavior is used, which normally prompts users for decision. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionState.Allow"> <summary> Specifies that the permission request is granted. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionState.Deny"> <summary> Specifies that the permission request is denied. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2PermissionKind"> <summary> Indicates the kind of a permission request. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionKind.UnknownPermission"> <summary> Indicates an unknown permission. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionKind.Microphone"> <summary> Indicates permission to capture audio. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionKind.Camera"> <summary> Indicates permission to capture video. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionKind.Geolocation"> <summary> Indicates permission to access geolocation. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionKind.Notifications"> <summary> Indicates permission to send web notifications. </summary> <remarks> This permission request is currently auto-rejected and no event is raised for it. </remarks> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionKind.OtherSensors"> <summary> Indicates permission to access generic sensor. Generic Sensor covers ambient-light-sensor, accelerometer, gyroscope, and magnetometer. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionKind.ClipboardRead"> <summary> Indicates permission to read the system clipboard without a user gesture. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason"> <summary> Specifies the reason for moving focus. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason.Programmatic"> <summary> Specifies that the code is setting focus into WebView. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason.Next"> <summary> Specifies that the focus is moved due to Tab traversal forward. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason.Previous"> <summary> Specifies that the focus is moved due to Tab traversal backward. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys"> <summary> Mouse event virtual keys associated with a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind"/> for <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SendMouseInput(Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind,Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys,System.UInt32,System.Drawing.Point)"/>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys.None"> <summary> No additional keys pressed. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys.LeftButton"> <summary> Left mouse button is down, <c>MK_LBUTTON</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys.RightButton"> <summary> Right mouse button is down, <c>MK_RBUTTON</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys.Shift"> <summary> Shift key is down, <c>MK_SHIFT</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys.Control"> <summary> Ctrl key is down, <c>MK_CONTROL</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys.MiddleButton"> <summary> Middle mouse button is down, <c>MK_MBUTTON</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys.XButton1"> <summary> First X button is down, <c>MK_XBUTTON1</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys.XButton2"> <summary> Second X button is down, <c>MK_XBUTTON2</c>. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind"> <summary> Mouse event kind used by <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SendMouseInput(Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind,Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys,System.UInt32,System.Drawing.Point)"/> to convey the kind of mouse event being sent to WebView. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.HorizontalWheel"> <summary> Mouse horizontal wheel scroll event, <c>WM_MOUSEHWHEEL</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.LeftButtonDoubleClick"> <summary> Left button double click mouse event, <c>WM_LBUTTONDBLCLK</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.LeftButtonDown"> <summary> Left button down mouse event, <c>WM_LBUTTONDOWN</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.LeftButtonUp"> <summary> Left button up mouse event, <c>WM_LBUTTONUP</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.Leave"> <summary> Mouse leave event, <c>WM_MOUSELEAVE</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.MiddleButtonDoubleClick"> <summary> Middle button double click mouse event, <c>WM_MBUTTONDBLCLK</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.MiddleButtonDown"> <summary> Middle button down mouse event, <c>WM_MBUTTONDOWN</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.MiddleButtonUp"> <summary> Middle button up mouse event, <c>WM_MBUTTONUP</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.Move"> <summary> Mouse move event, <c>WM_MOUSEMOVE</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.RightButtonDoubleClick"> <summary> Right button double click mouse event, <c>WM_RBUTTONDBLCLK</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.RightButtonDown"> <summary> Right button down mouse event, <c>WM_RBUTTONDOWN</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.RightButtonUp"> <summary> Right button up mouse event, <c>WM_RBUTTONUP</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.Wheel"> <summary> Mouse wheel scroll event, <c>WM_MOUSEWHEEL</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.XButtonDoubleClick"> <summary> First or second X button double click mouse event, <c>WM_XBUTTONDBLCLK</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.XButtonDown"> <summary> First or second X button down mouse event, <c>WM_XBUTTONDOWN</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.XButtonUp"> <summary> First or second X button up mouse event, <c>WM_XBUTTONUP</c>. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2KeyEventKind"> <summary> Specifies the key event kind that raises an <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.AcceleratorKeyPressed"/> event. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2KeyEventKind.KeyDown"> <summary> Specifies that the key event kind corresponds to window message <c>WM_KEYDOWN</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2KeyEventKind.KeyUp"> <summary> Specifies that the key event kind corresponds to window message <c>WM_KEYUP</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2KeyEventKind.SystemKeyDown"> <summary> Specifies that the key event kind corresponds to window message <c>WM_SYSKEYDOWN</c>. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2KeyEventKind.SystemKeyUp"> <summary> Specifies that the key event kind corresponds to window message <c>WM_SYSKEYUP</c>. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2HostResourceAccessKind"> <summary> Kind of cross origin resource access allowed for host resources during download. </summary> <remarks> Note that other normal access checks like same origin DOM access check and [Content Security Policy](https://developer.mozilla.org/docs/Web/HTTP/CSP) still apply. The following table illustrates the host resource cross origin access according to access context and <c>CoreWebView2HostResourceAccessKind</c>. <list type="table"> <listheader> <description>Cross Origin Access Context</description> <description>Deny</description> <description>Allow</description> <description>DenyCors</description> </listheader> <item> <description>From DOM like src of img, script or iframe element</description> <description>Deny</description> <description>Allow</description> <description>Allow</description> </item> <item> <description>From Script like Fetch or XMLHttpRequest</description> <description>Deny</description> <description>Allow</description> <description>Deny</description> </item> </list> </remarks> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2HostResourceAccessKind.Deny"> <summary> All cross origin resource access is denied, including normal sub resource access as src of a script or image element. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2HostResourceAccessKind.Allow"> <summary> All cross origin resource access is allowed, including accesses that are subject to Cross-Origin Resource Sharing(CORS) check. The behavior is similar to a web site sends back http header Access-Control-Allow-Origin: *. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2HostResourceAccessKind.DenyCors"> <summary> Cross origin resource access is allowed for normal sub resource access like as src of a script or image element, while any access that subjects to CORS check will be denied. See [Cross-Origin Resource Sharing](https://developer.mozilla.org/docs/Web/HTTP/CORS) for more information. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2CookieSameSiteKind"> <summary> Kind of cookie SameSite status used in the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Cookie"/> class. </summary> <remarks> These fields match those as specified in https://developer.mozilla.org/docs/Web/HTTP/Cookies#. Learn more about SameSite cookies here: https://tools.ietf.org/html/draft-west-first-party-cookies-07 </remarks> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2CookieSameSiteKind.None"> <summary> None SameSite type. No restrictions on cross-site requests. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2CookieSameSiteKind.Lax"> <summary> Lax SameSite type. The cookie will be sent with "same-site" requests, and with "cross-site" top level navigation. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2CookieSameSiteKind.Strict"> <summary> Strict SameSite type. The cookie will only be sent along with "same-site" requests. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2CapturePreviewImageFormat"> <summary> Specifies the image format for the <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.CapturePreviewAsync(Microsoft.Web.WebView2.Core.CoreWebView2CapturePreviewImageFormat,System.IO.Stream)"/> method. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2CapturePreviewImageFormat.Png"> <summary> Indicates that the PNG image format is used. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2CapturePreviewImageFormat.Jpeg"> <summary> Indicates that the JPEG image format is used. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2BoundsMode"> <summary> Mode for how the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> property is interpreted in relation to the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"/> property. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2BoundsMode.UseRawPixels"> <summary> <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> property represents raw pixels. Physical size of WebView is not impacted by <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"/> </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2BoundsMode.UseRasterizationScale"> <summary> <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> property represents logical pixels and the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.RasterizationScale"/> property is used to get the physical size of the WebView. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2PhysicalKeyStatus"> <summary> Contains the information packed into the LPARAM sent to a Win32 key event. </summary> <remarks> For more information about <c>WM_KEYDOWN</c>, navigate to [WM_KEYDOWN message](https://docs.microsoft.com/windows/win32/inputdev/wm-keydown). </remarks> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PhysicalKeyStatus.RepeatCount"> <summary> Specifies the repeat count for the current message. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PhysicalKeyStatus.ScanCode"> <summary> Specifies the scan code. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PhysicalKeyStatus.IsExtendedKey"> <summary> Indicates that the key is an extended key. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PhysicalKeyStatus.IsMenuKeyDown"> <summary> Indicates that a menu key is held down (context code). </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PhysicalKeyStatus.WasKeyDown"> <summary> Indicates that the key was held down. </summary> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2PhysicalKeyStatus.IsKeyReleased"> <summary> Indicates that the key was released. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2Color"> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2Color.A"> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2Color.R"> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2Color.G"> </member> <member name="F:Microsoft.Web.WebView2.Core.CoreWebView2Color.B"> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures"> <summary> The window features for a WebView popup window. </summary> <remarks> The fields match the <c>windowFeatures</c> passed to <c>window.open()</c> as specified in [Window features](https://developer.mozilla.org/docs/Web/API/Window/open#Window_features) on MDN. There is no requirement for you to respect the values. If your app does not have corresponding UI features (for example, no toolbar) or if all instance of WebView are opened in tabs and do not have distinct size or positions, then your app does not respect the values. You may want to respect values, but perhaps only some apply to the UI of you app. Accordingly, you may respect all, some, or none of the properties as appropriate for your app. For all numeric properties, if the value that is passed to <c>window.open()</c> is outside the range of an <see cref="T:System.UInt32"/>, the resulting value is <see cref="F:System.UInt32.MaxValue"/>. If you are not able to parse the value an integer, it is considered 0. If the value is a floating point value, it is rounded down to an integer. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.HasPosition"> <summary> Indicates whether the left and top values are specified. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.HasSize"> <summary> Indicates whether the height and width values are specified. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.Left"> <summary> Gets the left position of the window. Ignored if <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.HasPosition"/> is <c>false</c>. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.Top"> <summary> Gets the top position of the window. Ignored if <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.HasPosition"/> is <c>false</c>. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.Height"> <summary> Gets the height of the window. Ignored if <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.HasSize"/> is <c>false</c>. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.Width"> <summary> Gets the width of the window. Ignored if <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.HasSize"/> is <c>false</c>. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.ShouldDisplayMenuBar"> <summary> Indicates that the menu bar is displayed. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.ShouldDisplayStatus"> <summary> Indicates that the status bar is displayed. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.ShouldDisplayToolbar"> <summary> Indicates that the browser toolbar is displayed. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures.ShouldDisplayScrollBars"> <summary> Indicates that the scroll bars are displayed. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseView"> <summary> View of the HTTP representation for a web resource response. </summary> <remarks> The properties of this object are not mutable. This response view is used with the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceResponseReceived"/> event. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseView.Headers"> <summary> Gets the HTTP response headers as received. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseView.StatusCode"> <summary> Gets the HTTP response status code. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseView.ReasonPhrase"> <summary> Gets the HTTP response reason phrase. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseView.GetContentAsync"> <summary> Gets the response content stream asynchronously. </summary> <exception cref="T:System.Runtime.InteropServices.COMException">The content failed to load.</exception> <remarks> A <c>null</c> stream means no content was found. Note content (if any) for redirect responses is ignored. If this method is being called again before a first call has completed, it will complete at the same time all prior calls do. If this method is being called after a first call has completed, it will return immediately (asynchronously). </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseReceivedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceResponseReceived"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseReceivedEventArgs.Request"> <summary> Gets the request object for the web resource, as committed. </summary> <remarks> This includes headers added by the network stack that were not be included during the associated <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event, such as Authentication headers. Modifications to this object have no effect on how the request is processed as it has already been sent. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseReceivedEventArgs.Response"> <summary> Gets view of the response object received for the web resource. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse"> <summary> An HTTP response used with the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse.Content"> <summary> Gets HTTP response content as stream. </summary> <remarks> Stream must have all the content data available by the time the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event deferral of this response is completed. Stream should be agile or be created from a background thread to prevent performance impact to the UI thread. <c>null</c> means no content data. </remarks> <seealso cref="T:System.IO.Stream"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse.Headers"> <summary> Gets the overridden HTTP response headers. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse.StatusCode"> <summary> Gets or sets the HTTP response status code. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse.ReasonPhrase"> <summary> Gets or sets the HTTP response reason phrase. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequestedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequestedEventArgs.Request"> <summary> Gets the web resource request. </summary> <remarks> The request object may be missing some headers that are added by network stack at a later time. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequestedEventArgs.Response"> <summary> Gets or sets the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse"/> object. </summary> <remarks> If this object is set, the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event will be completed with this Response. An empty <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse"/> object can be created with <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateWebResourceResponse(System.IO.Stream,System.Int32,System.String,System.String)"/> and then modified to construct the Response. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequestedEventArgs.ResourceContext"> <summary> Gets the web resource request context. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequestedEventArgs.GetDeferral"> <summary> Gets a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Deferral"/> object and put the event into a deferred state. </summary> <remarks> Use this to <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2Deferral.Complete"/> the event at a later time. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest"> <summary> An HTTP request used with the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest.Uri"> <summary> Gets or sets the request URI. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest.Method"> <summary> Gets or sets the HTTP request method. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest.Content"> <summary> Gets or sets the HTTP request message body as stream. </summary> <remarks> POST data should be here. If a stream is set, which overrides the message body, the stream must have all the content data available by the time the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event deferral of this request is completed. Stream should be agile or be created from a background STA to prevent performance impact to the UI thread. <c>null</c> means no content data. </remarks> <seealso cref="T:System.IO.Stream"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest.Headers"> <summary> Gets the mutable HTTP request headers. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebMessageReceived"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs.Source"> <summary> Gets the URI of the document that sent this web message. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs.WebMessageAsJson"> <summary> Gets the message posted from the WebView content to the host converted to a JSON string. </summary> <remarks> Run this operation to communicate using JavaScript objects. For example, the following <c>postMessage</c> runs result in the following WebMessageAsJson values: <code> postMessage({'a': 'b'}) {\"a\": \"b\"}" postMessage(1.2) 1.2" postMessage('example') \"example\"" </code> </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs.TryGetWebMessageAsString"> <summary> Gets the message posted from the WebView content to the host as a <see cref="T:System.String"/>. </summary> <returns>The message posted from the WebView content to the host</returns> <exception cref="T:System.ArgumentException">The message posted is some other kind of JavaScript type.</exception> <remarks> Run this operation to communicate using simple strings. For example the following <c>postMessage</c> runs result in the following values returned by TryWebMessageAsString: <code> postMessage({'a': 'b'}) ArgumentException postMessage(1.2) ArgumentException postMessage('example') "example" </code> </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2SourceChangedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.SourceChanged"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2SourceChangedEventArgs.IsNewDocument"> <summary> <c>true</c> if the page being navigated to is a new document. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2Settings"> <summary> Defines properties that enable, disable, or modify WebView features. </summary> <remarks> Setting changes made after <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> event do not apply until the next top-level navigation. </remarks> <summary> Defines properties that enable, disable, or modify WebView features. </summary> <remarks> Setting changes made after <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> event do not apply until the next top-level navigation. </remarks> <summary> Defines properties that enable, disable, or modify WebView features. </summary> <remarks> Setting changes made after <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> event do not apply until the next top-level navigation. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsScriptEnabled"> <summary> Determines whether running JavaScript is enabled in all future navigations in the WebView. </summary> <remarks> This only affects scripts in the document. Scripts injected with <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.ExecuteScriptAsync(System.String)"/> runs even if script is disabled. The default value is <c>true</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsWebMessageEnabled"> <summary> Determines whether communication from the host to the top-level HTML document of the WebView is allowed. </summary> <remarks> This is used when loading a new HTML document. If set to <c>true</c>, communication from the host to the top-level HTML document of the WebView is allowed using <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsJson(System.String)"/>, <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsString(System.String)"/>, and message event of <c>window.chrome.webview</c>. Communication from the top-level HTML document of the WebView to the host is allowed using <c>window.chrome.webview.postMessage</c> function and the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebMessageReceived"/> event. If set to <c>false</c>, then communication is disallowed. <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsJson(System.String)"/> and <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsString(System.String)"/> fail and <c>window.chrome.webview.postMessage</c> fails by throwing an instance of an Error object. The default value is <c>true</c>. </remarks> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsJson(System.String)"/> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsString(System.String)"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebMessageReceived"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.AreDefaultScriptDialogsEnabled"> <summary> Determines whether WebView renders the default Javascript dialog box. </summary> <remarks> This is used when loading a new HTML document. If set to <c>false</c>, WebView does not render the default JavaScript dialog box (specifically those displayed by the JavaScript alert, confirm, prompt functions and <c>beforeunload</c> event). Instead, WebView raises <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ScriptDialogOpening"/> event that contains all of the information for the dialog and allow the host app to show a custom UI. The default value is <c>true</c>. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ScriptDialogOpening"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsStatusBarEnabled"> <summary> Determines whether the status bar is displayed. </summary> <remarks> The status bar is usually displayed in the lower left of the WebView and shows things such as the URI of a link when the user hovers over it and other information. The default value is <c>true</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.AreDevToolsEnabled"> <summary> Determines whether the user is able to use the context menu or keyboard shortcuts to open the DevTools window. </summary> <remarks> The default value is <c>true</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.AreDefaultContextMenusEnabled"> <summary> Determines whether the default context menus are shown to the user in WebView. </summary> <remarks> The default value is <c>true</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.AreHostObjectsAllowed"> <summary> Determines whether host objects are accessible from the page in WebView. </summary> <remarks> The default value is <c>true</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsZoomControlEnabled"> <summary> Determines whether the user is able to impact the zoom of the WebView. </summary> <remarks> When disabled, the user is not able to zoom using Ctrl++, Ctr+-, or Ctrl+mouse wheel, but the zoom is set using <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.ZoomFactor"/> property. The default value is <c>true</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsBuiltInErrorPageEnabled"> <summary> Determines whether to disable built in error page for navigation failure and render process failure. </summary> <remarks> When disabled, blank page is displayed when related error happens. The default value is <c>true</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.UserAgent"> <summary> Determines WebView2's User Agent. </summary> <remarks> The default value is the default User Agent of the Edge browser. This property may be overriden if the User-Agent header is set in a request. If the parameter is empty the User Agent will not be updated and the current User Agent will remain. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.AreBrowserAcceleratorKeysEnabled"> <summary> Determines whether browser-specific accelerator keys are enabled. </summary> <remarks> When this setting is set to false, it disables all accelerator keys that access features specific to a web browser, including but not limited to: - Ctrl-F and F3 for Find on Page - Ctrl-P for Print - Ctrl-R and F5 for Reload - Ctrl-Plus and Ctrl-Minus for zooming - Ctrl-Shift-C and F12 for DevTools - Special keys for browser functions, such as Back, Forward, and Search It does not disable accelerator keys related to movement and text editing, such as: - Home, End, Page Up, and Page Down - Ctrl-X, Ctrl-C, Ctrl-V - Ctrl-A for Select All - Ctrl-Z for Undo Those accelerator keys will always be enabled unless they are handled in the <c>AcceleratorKeyPressed</c> event. This setting has no effect on the <c>AcceleratorKeyPressed</c> event. The event will be fired for all accelerator keys, whether they are enabled or not. The default value of <c>AreBrowserAcceleratorKeysEnabled</c> is true. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ScriptDialogOpening"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.Uri"> <summary> Gets the URI of the page that requested the dialog box. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.Kind"> <summary> Gets the kind of JavaScript dialog box. </summary> <seealso cref="T:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogKind"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.Message"> <summary> Gets the message of the dialog box. </summary> <remarks> From JavaScript this is the first parameter passed to <c>alert</c>, <c>confirm</c>, and <c>prompt</c> and is empty for <c>beforeunload</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.DefaultText"> <summary> Gets the default value to use for the result of the <c>prompt</c> JavaScript function. </summary> <remarks> This is the second parameter passed to the JavaScript prompt dialog. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.ResultText"> <summary> Gets or sets the return value from the JavaScript <c>prompt</c> function if <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.Accept"/> is run. </summary> <remarks> This value is ignored for <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.Kind"/>s other than <seealso cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogKind.Prompt"/>. If <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.Accept"/> is not run, this value is ignored and <c>false</c> is returned from <c>prompt</c>. </remarks> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.Accept"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.Accept"> <summary> Responds with **OK** to <c>confirm</c>, <c>prompt</c>, and <c>beforeunload</c> dialogs. Not run this method to indicate cancel. </summary> <remarks> From JavaScript, this means that the <c>confirm</c> function and <c>beforeunload</c> event returns <c>true</c> if Accept is run. And for the <c>prompt</c> function it returns the value of <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.ResultText"/> if Accept is run and otherwise returns <c>false</c>. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs.GetDeferral"> <summary> Gets a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Deferral"/> object. </summary> <remarks> Use this to <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2Deferral.Complete"/> the event at a later time. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ProcessFailed"/> event. </summary> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ProcessFailed"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.ProcessFailedKind"> <summary> Gets the kind of process failure that has occurred. </summary> <remarks> <c>ProcessFailedKind</c> is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.RenderProcessExited"/> if the failed process is the main frame's renderer, even if there were subframes rendered by such process; all frames are gone when this happens. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.Reason"> <summary> Gets the reason for the process failure. </summary> <remarks> The reason is always <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason.Unexpected"/> when <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.ProcessFailedKind"/> is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.BrowserProcessExited"/>, and <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason.Unresponsive"/> when <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.ProcessFailedKind"/> is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.RenderProcessUnresponsive"/>. For other process failure kinds, the reason may be any of the reason values. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.ExitCode"> <summary> Gets the exit code of the failing process, for telemetry purposes. </summary> <remarks> The exit code is always <c>1</c> when <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.ProcessFailedKind"/> is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.BrowserProcessExited"/>, and <c>STILL_ACTIVE</c>(<c>259</c>) when <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.ProcessFailedKind"/> is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.RenderProcessUnresponsive"/>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.ProcessDescription"> <summary> Gets a description of the failing process, assigned by the WebView2 Runtime. </summary> <remarks> This is a technical English term appropriate for logging or development purposes, and not localized for the end user. It applies to utility processes (for example, "Audio Service", "Video Capture") and plugin processes (for example, "Flash"). The returned string is empty if the WebView2 Runtime did not assign a description to the process. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.FrameInfosForFailedProcess"> <summary> Gets the collection of <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2FrameInfo"/>s for frames in the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2"/> that were being rendered by the failed process. </summary> <remarks> The content in these frames is replaced with an error page. This is only available when <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs.ProcessFailedKind"/> is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.FrameRenderProcessExited"/>; the returned collection is empty for all other process failure kinds, including the case in which the failed process was the renderer for the main frame and subframes within it, for which the failure kind is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind.RenderProcessExited"/>. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo"> <summary> This mostly represents a combined win32 <c>POINTER_INFO</c>, <c>POINTER_TOUCH_INFO</c>, and <c>POINTER_PEN_INFO</c> object. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PointerKind"> <summary> Gets or sets the PointerKind of the pointer event. </summary> <remarks> This corresponds to the pointerKind property of the <c>POINTER_INFO</c> struct. The values are defined by the <c>POINTER_INPUT_KIND</c> enum in the Windows SDK (_winuser.h_). Supports PT_PEN and PT_TOUCH. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PointerId"> <summary> Gets or sets the PointerId of the pointer event. </summary> <remarks> This corresponds to the pointerId property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.FrameId"> <summary> Gets or sets the FrameID of the pointer event. </summary> <remarks> This corresponds to the frameId property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PointerFlags"> <summary> Gets or sets the PointerFlags of the pointer event. </summary> <remarks> This corresponds to the pointerFlags property of the <c>POINTER_INFO</c> struct. The values are defined by the <c>POINTER_FLAGS</c> constants in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PointerDeviceRect"> <summary> Gets or sets the PointerDeviceRect of the sourceDevice property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.DisplayRect"> <summary> Gets or sets the DisplayRect of the sourceDevice property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PixelLocation"> <summary> Gets or sets the PixelLocation of the pointer event. </summary> <remarks> This corresponds to the ptPixelLocation property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.HimetricLocation"> <summary> Gets or sets the HimetricLocation of the pointer event. </summary> <remarks> This corresponds to the ptHimetricLocation property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PixelLocationRaw"> <summary> Gets or sets the PixelLocationRaw of the pointer event. </summary> <remarks> This corresponds to the ptPixelLocationRaw property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.HimetricLocationRaw"> <summary> Gets or sets the HimetricLocationRaw of the pointer event. </summary> <remarks> This corresponds to the ptHimetricLocationRaw property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.Time"> <summary> Gets or sets the Time of the pointer event. </summary> <remarks> This corresponds to the dwTime property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.HistoryCount"> <summary> Gets or sets the HistoryCount of the pointer event. </summary> <remarks> This corresponds to the historyCount property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.InputData"> <summary> Gets or sets the InputData of the pointer event. </summary> <remarks> This corresponds to the InputData property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.KeyStates"> <summary> Gets or sets the KeyStates of the pointer event. </summary> <remarks> This corresponds to the dwKeyStates property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PerformanceCount"> <summary> Gets or sets the PerformanceCount of the pointer event. </summary> <remarks> This corresponds to the PerformanceCount property of the <c>POINTER_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.ButtonChangeKind"> <summary> Gets or sets the ButtonChangeKind of the pointer event. </summary> <remarks> This corresponds to the ButtonChangeKind property of the <c>POINTER_INFO</c> struct. The values are defined by the <c>POINTER_BUTTON_CHANGE_KIND</c> enum in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PenFlags"> <summary> Gets or sets the PenFlags of the pointer event. </summary> <remarks> This corresponds to the penFlags property of the <c>POINTER_PEN_INFO</c> struct. The values are defined by the PEN_FLAGS constants in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PenMask"> <summary> Gets or sets the PenMask of the pointer event. </summary> <remarks> This corresponds to the penMask property of the <c>POINTER_PEN_INFO</c> struct. The values are defined by the PEN_MASK constants in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PenPressure"> <summary> Gets or sets the PenPressure of the pointer event. </summary> <remarks> This corresponds to the pressure property of the <c>POINTER_PEN_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PenRotation"> <summary> Gets or sets the PenRotation of the pointer event. </summary> <remarks> This corresponds to the rotation property of the <c>POINTER_PEN_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PenTiltX"> <summary> Gets or sets the PenTiltX of the pointer event. </summary> <remarks> This corresponds to the tiltX property of the <c>POINTER_PEN_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.PenTiltY"> <summary> Gets or sets the PenTiltY of the pointer event. </summary> <remarks> This corresponds to the tiltY property of the <c>POINTER_PEN_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.TouchFlags"> <summary> Gets or sets the TouchFlags of the pointer event. </summary> <remarks> This corresponds to the touchFlags property of the <c>POINTER_TOUCH_INFO</c> struct. The values are defined by the TOUCH_FLAGS constants in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.TouchMask"> <summary> Gets or sets the TouchMask of the pointer event. </summary> <remarks> This corresponds to the touchMask property of the <c>POINTER_TOUCH_INFO</c> struct. The values are defined by the TOUCH_MASK constants in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.TouchContact"> <summary> Gets or sets the TouchContact of the pointer event. </summary> <remarks> This corresponds to the rcContact property of the <c>POINTER_TOUCH_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.TouchContactRaw"> <summary> Gets or sets the TouchContactRaw of the pointer event. </summary> <remarks> This corresponds to the rcContactRaw property of the <c>POINTER_TOUCH_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.TouchOrientation"> <summary> Gets or sets the TouchOrientation of the pointer event. </summary> <remarks> This corresponds to the orientation property of the <c>POINTER_TOUCH_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo.TouchPressure"> <summary> Gets or sets the TouchPressure of the pointer event. </summary> <remarks> This corresponds to the pressure property of the <c>POINTER_TOUCH_INFO</c> struct as defined in the Windows SDK (_winuser.h_). </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2PermissionRequestedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.PermissionRequested"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PermissionRequestedEventArgs.Uri"> <summary> Gets the origin of the web content that requests the permission. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PermissionRequestedEventArgs.PermissionKind"> <summary> Gets the kind of the permission that is requested. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PermissionRequestedEventArgs.IsUserInitiated"> <summary> <c>true</c> when the permission request was initiated through a user gesture such as clicking an anchor tag with target. </summary> <remarks> Being initiated through a user gesture does not mean that user intended to access the associated resource. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2PermissionRequestedEventArgs.State"> <summary> Gets or sets the status of a permission request. For example, whether the request is granted. </summary> <remarks> The default value is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2PermissionState.Default"/>. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2PermissionRequestedEventArgs.GetDeferral"> <summary> Gets a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Deferral"/> object. </summary> <remarks> Use the deferral object to make the permission decision at a later time. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NewWindowRequested"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs.Uri"> <summary> Gets the target uri of the new window request. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs.NewWindow"> <summary> Gets the new window or sets a WebView as a result of the new window requested. </summary> <remarks> Provides a WebView as the target for a window.open() from inside the requesting WebView. If this is set, the top-level window returns as the opened WindowProxy. If this is not set, then <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs.Handled"/> is checked to determine behavior for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NewWindowRequested"/>. WebView provided in the NewWindow property must be on the same <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Environment"/> as the opener WebView and cannot be navigated. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs.Handled"> <summary> Indicates whether the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NewWindowRequested"/> event is handled by host. </summary> <remarks> If this is <c>false</c> and no <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs.NewWindow"/> is set, the WebView opens a popup window and it returns as opened WindowProxy. If set to <c>true</c> and no <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs.NewWindow"/> is set for <c>window.open()</c>, the opened WindowProxy is for a dummy window object and no window loads. The default value is <c>false</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs.IsUserInitiated"> <summary> <c>true</c> when the new window request was initiated through a user gesture such as selecting an anchor tag with target. </summary> <remarks> The Microsoft Edge popup blocker is disabled for WebView so the app is able to use this flag to block non-user initiated popups. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs.WindowFeatures"> <summary> Gets the window features specified by the <c>window.open()</c> call. These features should be considered for positioning and sizing of new WebView windows. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs.GetDeferral"> <summary> Gets a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Deferral"/> object and put the event into a deferred state. </summary> <remarks> Use this to <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2Deferral.Complete"/> the window open request at a later time. While this event is deferred the opener window returns a WindowProxy to an un-navigated window, which navigates when the deferral is complete. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs.Uri"> <summary> Gets the uri of the requested navigation. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs.IsUserInitiated"> <summary> <c>true</c> when the navigation was initiated through a user gesture as opposed to programmatic navigation. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs.IsRedirected"> <summary> <c>true</c> when the navigation is redirected. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs.RequestHeaders"> <summary> Gets the HTTP request headers for the navigation. </summary> <remarks> Note, you are not able to modify the HTTP request headers in a <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> event. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs.Cancel"> <summary> Determines whether to cancel the navigation. </summary> <remarks> If set to <c>true</c>, the navigation is no longer present and the content of the current page is intact. For performance reasons, <c>GET</c> HTTP requests may happen, while the host is responding. You may set cookies and use part of a request for the navigation. Cancellation for navigation to <c>about:blank</c> or frame navigation to srcdoc is not supported and ignored. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs.NavigationId"> <summary> Gets the ID of the navigation. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationCompleted"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs.IsSuccess"> <summary> <c>true</c> when the navigation is successful; <c>false</c> for a navigation that ended up in an error page (failures due to no network, DNS lookup failure, HTTP server responds with 4xx). </summary> <remarks> This may also be <c>false</c> for additional scenarios such as <c>window.stop()</c> run on navigated page. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs.WebErrorStatus"> <summary> Gets the error code if the navigation failed. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs.NavigationId"> <summary> Gets the ID of the navigation. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusRequestedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocusRequested"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusRequestedEventArgs.Reason"> <summary> Gets the reason for WebView to raise the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocusRequested"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusRequestedEventArgs.Handled"> <summary> Indicates whether the event has been handled by the app. </summary> <remarks> If the app has moved the focus to another desired location, it should set Handled property to <c>true</c>. When <c>Handled</c> property is <c>false</c> after the event handler returns, default action is taken. The default action is to try to find the next tab stop child window in the app and try to move focus to that window. If no other window exists to move focus, focus is cycled within the web content of the WebView. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2FrameInfo"> <summary> Provides a set of properties for a frame in the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2"/>. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2FrameInfo.Name"> <summary> Gets the name attribute of the frame, as in <c><iframe name="frame-name" ...></c>. </summary> <remarks> The returned string is empty when the frame has no name attribute. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2FrameInfo.Source"> <summary> The URI of the document in the frame. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2DOMContentLoadedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.DOMContentLoaded"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2DOMContentLoadedEventArgs.NavigationId"> <summary> Gets the ID of the navigation. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceiver"> <summary> A Receiver is created for a particular DevTools Protocol event and allows you to subscribe and unsubscribe from that event. </summary> <remarks> Obtained from the WebView object using <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.GetDevToolsProtocolEventReceiver(System.String)"/>. </remarks> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.GetDevToolsProtocolEventReceiver(System.String)"/> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceiver.DevToolsProtocolEventReceived"> <summary> DevToolsProtocolEventReceived is raised when the corresponding DevToolsProtocol event is raised. </summary> <seealso cref="T:Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceivedEventArgs"/> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceivedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceiver.DevToolsProtocolEventReceived"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceivedEventArgs.ParameterObjectAsJson"> <summary> Gets the parameter object of the corresponding DevToolsProtocol event represented as a JSON string. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2ContentLoadingEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ContentLoading"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ContentLoadingEventArgs.IsErrorPage"> <summary> <c>true</c> if the loaded content is an error page. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2ContentLoadingEventArgs.NavigationId"> <summary> Gets the ID of the navigation. </summary> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController"> <summary> This class is an extension of the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"/> class to support visual hosting. </summary> <summary> This class is an extension of the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Controller"/> class to support visual hosting. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.RootVisualTarget"> <summary> Gets or sets the root visual in the hosting app's visual tree. </summary> <remarks> This visual is where the WebView will connect its visual tree. The app uses this visual to position the WebView within the app. The app still needs to use the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Controller.Bounds"/> property to size the WebView. The RootVisualTarget property can be an IDCompositionVisual or a Windows::UI::Composition::ContainerVisual. WebView will connect its visual tree to the provided visual before returning from the property setter. The app needs to commit on its device setting the RootVisualTarget property. The RootVisualTarget property supports being set to <c>null</c> to disconnect the WebView from the app's visual tree. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.Cursor"> <summary> Gets the current cursor that WebView thinks it should be. </summary> <remarks> The cursor should be set in WM_SETCURSOR through Mouse.SetCursor or set on the corresponding parent/ancestor HWND of the WebView through ::SetClassLongPtr. The HCURSOR can be freed so CopyCursor/DestroyCursor is recommended to keep your own copy if you are doing more than immediately setting the cursor. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SystemCursorId"> <summary> Gets the current system cursor ID reported by the underlying rendering engine for WebView. </summary> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.CursorChanged"> <summary> The event is raised when WebView thinks the cursor should be changed. </summary> <remarks> For example, when the mouse cursor is currently the default cursor but is then moved over text, it may try to change to the IBeam cursor. It is expected for the developer to send <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.Leave"/> messages (in addition to <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.Move"/> messages) through <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SendMouseInput(Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind,Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys,System.UInt32,System.Drawing.Point)"/>. This is to ensure that the mouse is actually within the WebView that sends out CursorChanged events. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SendMouseInput(Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind,Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys,System.UInt32,System.Drawing.Point)"> <summary> Sends mouse input to the WebView. </summary> <param name="eventKind">The mouse event kind.</param> <param name="virtualKeys">The virtual keys associated with the <c>eventKind</c>.</param> <param name="mouseData">The amount of wheel movement.</param> <param name="point">The absolute position of the mouse, or the amount of motion since the last mouse event was generated, depending on the <c>eventKind</c>.</param> <remarks> If <c>eventKind</c> is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.HorizontalWheel"/> or <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.Wheel"/>, then <c>mouseData</c> specifies the amount of wheel movement. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. One wheel click is defined as WHEEL_DELTA, which is 120. If <c>eventKind</c> is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.XButtonDoubleClick"/>, <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.XButtonDown"/>, or <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.XButtonUp"/>, then <c>mouseData</c> specifies which X buttons were pressed or released. This value should be 1 if the first X button is pressed/released and 2 if the second X button is pressed/released. If <c>eventKind</c> is <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.Leave"/>, then <c>virtualKeys</c>, <c>mouseData</c>, and point should all be zero. If <c>eventKind</c> is any other value, then <c>mouseData</c> should be zero. <c>point</c> is expected to be in the client coordinate space of the WebView. To track mouse events that start in the WebView and can potentially move outside of the WebView and host application, calling SetCapture and ReleaseCapture is recommended. To dismiss hover popups, it is also recommended to send <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind.Leave"/> messages. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2CompositionController.SendPointerInput(Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind,Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo)"> <summary> Sends pen or pointer input to the WebView. </summary> <param name="eventKind">The pointer event kind.</param> <param name="pointerInfo">The pointer information.</param> <remarks> Accepts touch or pen pointer input of kinds defined in <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind"/>. Any pointer input from the system must be converted into a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo"/> first. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs"> <summary> Event args for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.AcceleratorKeyPressed"/> event. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.KeyEventKind"> <summary> Gets the key event kind that caused the event to run. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.VirtualKey"> <summary> Gets the Win32 virtual key code of the key that was pressed or released. </summary> <remarks> It is one of the Win32 virtual key constants such as VK_RETURN or an (uppercase) ASCII value such as 'A'. Verify whether Ctrl or Alt are pressed by running GetKeyState(VK_CONTROL) or GetKeyState(VK_MENU). </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.KeyEventLParam"> <summary> Gets the LPARAM value that accompanied the window message. </summary> <remarks> See the documentation for the <c>WM_KEYDOWN</c> and <c>WM_KEYUP</c> messages. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.PhysicalKeyStatus"> <summary> Gets a <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2PhysicalKeyStatus"/> representing the information passed in the LPARAM of the window message. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs.Handled"> <summary> Indicates whether the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.AcceleratorKeyPressed"/> event is handled by host. </summary> <remarks> If set to <c>true</c> then this prevents the WebView from performing the default action for this accelerator key. Otherwise the WebView will perform the default action for the accelerator key. </remarks> </member> <member name="T:Microsoft.Web.WebView2.Core.CoreWebView2"> <summary> WebView2 enables you to host web content using the latest Microsoft Edge browser and web technology. </summary> <summary> WebView2 enables you to host web content using the latest Microsoft Edge browser and web technology. </summary> <summary> WebView2 enables you to host web content using the latest Microsoft Edge browser and web technology. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.Settings"> <summary> Gets the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Settings"/> object contains various modifiable settings for the running WebView. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.Source"> <summary> Gets the URI of the current top level document. </summary> <remarks> This value potentially changes as a part of the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.SourceChanged"/> event raised for some cases such as navigating to a different site or fragment navigations. It remains the same for other types of navigations such as page refreshes or <c>history.pushState</c> with the same URL as the current page. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.SourceChanged"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.BrowserProcessId"> <summary> Gets the process ID of the browser process that hosts the WebView. </summary> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.CanGoBack"> <summary> <c>true</c> if the WebView is able to navigate to a previous page in the navigation history. </summary> <remarks> If CanGoBack changes value, the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.HistoryChanged"/> event is raised. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.HistoryChanged"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.CanGoForward"> <summary> <c>true</c> if the WebView is able to navigate to a next page in the navigation history. </summary> <remarks> If CanGoForward changes value, the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.HistoryChanged"/> event is raised. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.HistoryChanged"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.DocumentTitle"> <summary> Gets the title for the current top-level document. </summary> <remarks> If the document has no explicit title or is otherwise empty, a default that may or may not match the URI of the document is used. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.ContainsFullScreenElement"> <summary> Indicates if the WebView contains a fullscreen HTML element. </summary> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"> <summary> NavigationStarting is raised when the WebView main frame is requesting permission to navigate to a different URI. </summary> <remarks> Redirects raises this event as well. You may block corresponding navigations until the event handler returns. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.ContentLoading"> <summary> ContentLoading is raised before any content is loaded, including scripts added with <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddScriptToExecuteOnDocumentCreatedAsync(System.String)"/>. ContentLoading is not raised if a same page navigation occurs (such as through fragment navigations or <c>history.pushState</c> navigations). </summary> <remarks> This operation follows the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> and <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.SourceChanged"/> events and precedes the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.HistoryChanged"/> and <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationCompleted"/> events. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.SourceChanged"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.HistoryChanged"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationCompleted"/> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.SourceChanged"> <summary> SourceChanged is raised when the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.Source"/> property changes. </summary> <remarks> SourceChanged is raised when navigating to a different site or fragment navigations. It is not raised for other types of navigations such as page refreshes or <c>history.pushState</c> with the same URL as the current page. This event is raised before <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ContentLoading"/> for navigation to a new document. </remarks> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.Source"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ContentLoading"/> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.HistoryChanged"> <summary> HistoryChanged is raised when there is change of navigation history for the top level document. </summary> <remarks> Use HistoryChanged to verify that the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.CanGoBack"/> or <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.CanGoForward"/> value has changed. HistoryChanged is also raised for using <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.GoBack"/> or <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.GoForward"/>. HistoryChanged is raised after <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.SourceChanged"/> and <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ContentLoading"/>. </remarks> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.CanGoBack"/> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.CanGoForward"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.SourceChanged"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ContentLoading"/> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationCompleted"> <summary> NavigationCompleted is raised when the WebView has completely loaded (<c>body.onload</c> has been raised) or loading stopped with error. </summary> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.FrameNavigationStarting"> <summary> FrameNavigationStarting is raised when a child frame in the WebView requests permission to navigate to a different URI. </summary> <remarks> Redirects raise this operation as well. You may block corresponding navigations until the event handler returns. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.FrameNavigationCompleted"> <summary> FrameNavigationCompleted is raised when a child frame has completely loaded (<c>body.onload</c> has been raised) or loading stopped with error. </summary> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.ScriptDialogOpening"> <summary> ScriptDialogOpening is raised when a JavaScript dialog (<c>alert</c>, <c>confirm</c>, <c>prompt</c>, or <c>beforeunload</c>) displays for the WebView. </summary> <remarks> This event only is raised if the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.AreDefaultScriptDialogsEnabled"/> property is set to <c>false</c>. This event suppresses dialogs or replaces default dialogs with custom dialogs. If a deferral is not taken on the event args, the subsequent scripts are blocked until the event handler returns. If a deferral is taken, the scripts are blocked until the deferral is completed. </remarks> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.AreDefaultScriptDialogsEnabled"/> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.PermissionRequested"> <summary> PermissionRequested is raised when content in a WebView requests permission to access some privileged resources. </summary> <remarks> If a deferral is not taken on the event args, the subsequent scripts are blocked until the event handler returns. If a deferral is taken, the scripts are blocked until the deferral is completed. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.ProcessFailed"> <summary> ProcessFailed is raised when a WebView process ends unexpectedly or becomes unresponsive. </summary> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebMessageReceived"> <summary> WebMessageReceived is raised when the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsWebMessageEnabled"/> setting is set and the top-level document of the WebView runs <c>window.chrome.webview.postMessage</c>. </summary> <remarks> The <c>postMessage</c> function is <c>void postMessage(object)</c> where object is any object supported by JSON conversion. When <c>postMessage</c> is called, the handler's Invoke method will be called with the <c>object</c> parameter <c>postMessage</c> converted to a JSON string. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.NewWindowRequested"> <summary> NewWindowRequested is raised when content inside the WebView requests to open a new window, such as through <c>window.open()</c>. </summary> <remarks> The app passes a target WebView that is considered the opened window. If a deferral is not taken on the event args, scripts that resulted in the new window that are requested are blocked until the event handler returns. If a deferral is taken, then scripts are blocked until the deferral is completed. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.DocumentTitleChanged"> <summary> DocumentTitleChanged is raised when the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.DocumentTitle"/> property changes and may be raised before or after the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationCompleted"/> event. </summary> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.DocumentTitle"/> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.ContainsFullScreenElementChanged"> <summary> ContainsFullScreenElementChanged is raised when the <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.ContainsFullScreenElement"/> property changes. </summary> <remarks> An HTML element inside the WebView may enter fullscreen to the size of the WebView or leave fullscreen. This event is useful when, for example, a video element requests to go fullscreen. The listener of this event may resize the WebView in response. </remarks> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.ContainsFullScreenElement"/> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"> <summary> WebResourceRequested is raised when the WebView is performing a URL request to a matching URL and resource context filter that was added with <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddWebResourceRequestedFilter(System.String,Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext)"/>. </summary> <remarks> At least one filter must be added for the event to be raised. The web resource requested may be blocked until the event handler returns if a deferral is not taken on the event args. If a deferral is taken, then the web resource requested is blocked until the deferral is completed. </remarks> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddWebResourceRequestedFilter(System.String,Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext)"/> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.WindowCloseRequested"> <summary> WindowCloseRequested is raised when content inside the WebView requested to close the window, such as after <c>window.close()</c> is run. </summary> <remarks> The app should close the WebView and related app window if that makes sense to the app. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.Navigate(System.String)"> <summary> Causes a navigation of the top level document to the specified URI. </summary> <param name="uri">The URI to navigate to.</param> <remarks> For more information, navigate to [Navigation event](https://docs.microsoft.com/microsoft-edge/webview2/concepts/navigation-events). Note that this operation starts a navigation and the corresponding <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> event is raised sometime after Navigate runs. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationCompleted"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.NavigateToString(System.String)"> <summary> Initiates a navigation to <paramref name="htmlContent"/> as source HTML of a new document. </summary> <param name="htmlContent">A source HTML of a new document.</param> <remarks> The <c>htmlContent</c> parameter may not be larger than 2 MB in total size. The origin of the new page is <c>about:blank</c>. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationCompleted"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddScriptToExecuteOnDocumentCreatedAsync(System.String)"> <summary> Adds the provided JavaScript to a list of scripts that should be run after the global object has been created, but before the HTML document has been parsed and before any other script included by the HTML document is run. </summary> <param name="javaScript">The JavaScript code to be run.</param> <returns> A script ID that may be passed when calling <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.RemoveScriptToExecuteOnDocumentCreated(System.String)"/>. </returns> <remarks> The injected script will apply to all future top level document and child frame navigations until removed with <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.RemoveScriptToExecuteOnDocumentCreated(System.String)"/>. This is applied asynchronously and you must wait for the returned <see cref="T:System.Threading.Tasks.Task`1"/> to complete before you can be sure that the script is ready to execute on future navigations. Note that if an HTML document has sandboxing of some kind via [sandbox](https://developer.mozilla.org/docs/Web/HTML/Element/iframe#attr-sandbox) properties or the [Content-Security-Policy HTTP header](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy) this will affect the script run here. So, for example, if the <c>allow-modals</c> keyword is not set then calls to the <c>alert</c> function will be ignored. </remarks> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.RemoveScriptToExecuteOnDocumentCreated(System.String)"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.RemoveScriptToExecuteOnDocumentCreated(System.String)"> <summary> Removes the corresponding JavaScript added via <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddScriptToExecuteOnDocumentCreatedAsync(System.String)"/> with the specified script ID. </summary> <param name="id">The ID corresponds to the JavaScript code to be removed from the list of scripts.</param> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.ExecuteScriptAsync(System.String)"> <summary> Runs JavaScript code from the <paramref name="javaScript"/> parameter in the current top-level document rendered in the WebView. </summary> <param name="javaScript">The JavaScript code to be run in the current top-level document rendered in the WebView.</param> <returns> A JSON encoded string that represents the result of running the provided JavaScript. </returns> <remarks> If the result is <c>undefined</c>, contains a reference cycle, or otherwise is not able to be encoded into JSON, the JSON <c>null</c> value is returned as the <c>"null"</c> string. A function that has no explicit return value returns <c>undefined</c>. If the script that was run throws an unhandled exception, then the result is also <c>null</c>. This method is applied asynchronously. If the method is run after the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.NavigationStarting"/> event during a navigation, the script runs in the new document when loading it, around the time <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.ContentLoading"/> is run. This operation works even if <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsScriptEnabled"/> is set to <c>false</c>. </remarks> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsScriptEnabled"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.CapturePreviewAsync(Microsoft.Web.WebView2.Core.CoreWebView2CapturePreviewImageFormat,System.IO.Stream)"> <summary> Captures an image of what WebView is displaying. </summary> <param name="imageFormat">The format of the image to be captured.</param> <param name="imageStream">The stream to which the resulting image binary data is written.</param> <remarks> When CapturePreviewAsync finishes writing to the stream, the Invoke method on the provided handler parameter is called. This method fails if called before the first ContentLoading event. For example if this is called in the NavigationStarting event for the first navigation it will fail. For subsequent navigations, the method may not fail, but will not capture an image of a given webpage until the ContentLoading event has been fired for it. Any call to this method prior to that will result in a capture of the page being navigated away from. </remarks> <seealso cref="T:Microsoft.Web.WebView2.Core.CoreWebView2CapturePreviewImageFormat"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.Reload"> <summary> Reloads the current page. </summary> <remarks> This is similar to navigating to the URI of current top level document including all navigation events firing and respecting any entries in the HTTP cache. But, the back or forward history will not be modified. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsJson(System.String)"> <summary> Posts the specified <paramref name="webMessageAsJson"/> to the top level document in this WebView. </summary> <param name="webMessageAsJson">The web message to be posted to the top level document in this WebView.</param> <remarks> Runs the message event of the <c>window.chrome.webview</c> of the top-level document. JavaScript in that document may subscribe and unsubscribe to the event using the following code: <code> window.chrome.webview.addEventListener('message', handler) window.chrome.webview.removeEventListener('message', handler) </code> The event args is an instance of <c>MessageEvent</c>. The <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsWebMessageEnabled"/> setting must be <c>true</c> or this method will fail with E_INVALIDARG. The event arg's <c>data</c> property of the event arg is the <c>webMessageAsJson</c> <see cref="T:System.String"/> parameter parsed as a JSON string into a JavaScript object. The event arg's <c>source</c> property of the event arg is a reference to the <c>window.chrome.webview</c> object. For information about sending messages from the HTML document in the WebView to the host, navigate to <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebMessageReceived"/>. The message is sent asynchronously. If a navigation occurs before the message is posted to the page, the message is not be sent. </remarks> <seealso cref="P:Microsoft.Web.WebView2.Core.CoreWebView2Settings.IsWebMessageEnabled"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebMessageReceived"/> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsString(System.String)"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsString(System.String)"> <summary> Posts a message that is a simple <see cref="T:System.String"/> rather than a JSON string representation of a JavaScript object. </summary> <param name="webMessageAsString">The web message to be posted to the top level document in this WebView.</param> <remarks> This behaves in exactly the same manner as <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsJson(System.String)"/>, but the <c>data</c> property of the event arg of the <c>window.chrome.webview</c> message is a <see cref="T:System.String"/> with the same value as <c>webMessageAsString</c>. Use this instead of <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsJson(System.String)"/> if you want to communicate using simple strings rather than JSON objects. </remarks> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebMessageReceived"/> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.PostWebMessageAsJson(System.String)"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.CallDevToolsProtocolMethodAsync(System.String,System.String)"> <summary> Runs an asynchronous DevToolsProtocol method. </summary> <param name="methodName"> The full name of the method in the format <c>{domain}.{method}</c> </param> <param name="parametersAsJson"> A JSON formatted string containing the parameters for the corresponding method. </param> <returns> A JSON string that represents the method's return object. </returns> <remarks> For more information about available methods, navigate to [DevTools Protocol Viewer](https://aka.ms/DevToolsProtocolDocs). The handler's Invoke method will be called when the method asynchronously completes. Invoke will be called with the method's return object as a JSON string. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.GoBack"> <summary> Navigates the WebView to the previous page in the navigation history. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.GoForward"> <summary> Navigates the WebView to the next page in the navigation history. </summary> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.GetDevToolsProtocolEventReceiver(System.String)"> <summary> Gets a DevTools Protocol event receiver that allows you to subscribe to a DevToolsProtocol event. </summary> <param name="eventName">The full name of the event in the format <c>{domain}.{event}</c>.</param> <returns>A Devtools Protocol event receiver.</returns> <remarks> For more information about DevToolsProtocol events description and event args, navigate to [DevTools Protocol Viewer](https://aka.ms/DevToolsProtocolDocs). </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.Stop"> <summary> Stops all navigations and pending resource fetches. </summary> <remarks> Does not stop scripts. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddHostObjectToScript(System.String,System.Object)"> <summary> Adds the provided host object to script running in the WebView with the specified name. </summary> <param name="name">The name of the host object.</param> <param name="rawObject">The host object to be added to script.</param> <remarks> Host objects are exposed as host object proxies via <c>window.chrome.webview.hostObjects.{name}</c>. Host object proxies are promises and will resolve to an object representing the host object. Only the COM visible objects/properties/methods can be accessed from script. The app can control which part of .NET objects are exposed using <see cref="T:System.Runtime.InteropServices.ComVisibleAttribute"/>. JavaScript code in the WebView will be able to access appObject as following and then access attributes and methods of appObject. To create a [IDispatch](https://docs.microsoft.com/windows/win32/api/oaidl/nn-oaidl-idispatch) implementing class in C# use the following attributes on each class you intend to expose. <code> // Bridge and BridgeAnotherClass are C# classes that implement IDispatch and works with AddHostObjectToScript. [ClassInterface(ClassInterfaceType.AutoDual)] [ComVisible(true)] public class BridgeAnotherClass { // Sample property. public string Prop { get; set; } = "Example"; } [ClassInterface(ClassInterfaceType.AutoDual)] [ComVisible(true)] public class Bridge { public string Func(string param) { return "Example: " + param; } public BridgeAnotherClass AnotherObject { get; set; } = new BridgeAnotherClass(); // Sample indexed property. [System.Runtime.CompilerServices.IndexerName("Items")] public string this[int index] { get { return m_dictionary[index]; } set { m_dictionary[index] = value; } } private Dictionary<int, string> m_dictionary = new Dictionary<int, string>(); } </code> Then add instances of those classes via <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddHostObjectToScript(System.String,System.Object)"/>: <code> webView.CoreWebView2.AddHostObjectToScript("bridge", new Bridge()); </code> And then in script you can call the methods, and access those properties of the objects added via <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddHostObjectToScript(System.String,System.Object)"/>: <code> // Find added objects on the hostObjects property const bridge = chrome.webview.hostObjects.bridge; // Call a method and pass in a parameter. // The result is another proxy promise so you must await to get the result. console.log(await bridge.Func("testing...")); // A property may be another object as long as its class also implements // IDispatch. // Getting a property also gets a proxy promise you must await. const propValue = await bridge.AnotherObject.Prop; console.log(propValue); // Indexed properties let index = 123; bridge[index] = "test"; let result = await bridge[index]; console.log(result); </code> Note that while simple types, <c>IDispatch</c> and array are supported, generic <c>IUnknown</c>, <c>VT_DECIMAL</c>, or <c>VT_RECORD</c> variant is not supported. Remote JavaScript objects like callback functions are represented as an <c>VT_DISPATCH</c> VARIANT with the object implementing <c>IDispatch</c>. The JavaScript callback method may be invoked using DISPID_VALUE for the DISPID. Nested arrays are supported up to a depth of 3. Arrays of by reference types are not supported. <c>VT_EMPTY</c> and <c>VT_NULL</c> are mapped into JavaScript as <c>null</c>. In JavaScript <c>null</c> and <c>undefined</c> are mapped to <c>VT_EMPTY</c>. Additionally, all host objects are exposed as <c>window.chrome.webview.hostObjects.sync.{name}</c>. Here the host objects are exposed as synchronous host object proxies. These are not promises and calls to functions or property access synchronously block running script waiting to communicate cross process for the host code to run. Accordingly this can result in reliability issues and it is recommended that you use the promise based asynchronous <c>window.chrome.webview.hostObjects.{name}</c> API described above. Synchronous host object proxies and asynchronous host object proxies can both proxy the same host object. Remote changes made by one proxy will be reflected in any other proxy of that same host object whether the other proxies and synchronous or asynchronous. While JavaScript is blocked on a synchronous call to native code, that native code is unable to call back to JavaScript. Attempts to do so will fail with <c>HRESULT_FROM_WIN32(ERROR_POSSIBLE_DEADLOCK)</c>. Host object proxies are JavaScript Proxy objects that intercept all property get, property set, and method invocations. Properties or methods that are a part of the Function or Object prototype are run locally. Additionally any property or method in the array <c>chrome.webview.hostObjects.options.forceLocalProperties</c> will also be run locally. This defaults to including optional methods that have meaning in JavaScript like <c>toJSON</c> and <c>Symbol.toPrimitive</c>. You can add more to this array as required. There's a method <c>chrome.webview.hostObjects.cleanupSome</c> that will best effort garbage collect host object proxies. Host object proxies additionally have the following methods which run locally: <list type="bullet"> <item> <description> </description> </item> <item> <term><c>applyHostFunction</c>, <c>getHostProperty</c>, <c>setHostProperty</c></term> <description> Perform a method invocation, property get, or property set on the host object. You can use these to explicitly force a method or property to run remotely if there is a conflicting local method or property. For instance, <c>proxy.toString()</c> will run the local <c>toString</c> method on the proxy object. But <c>proxy.applyHostFunction('toString')</c> runs <c>toString</c> on the host proxied object instead. </description> </item> <item> <term><c>getLocalProperty</c>, <c>setLocalProperty</c></term> <description> Perform property get, or property set locally. You can use these methods to force getting or setting a property on the host object proxy itself rather than on the host object it represents. For instance, <c>proxy.unknownProperty</c> will get the property named <c>unknownProperty</c> from the host proxied object. But <c>proxy.getLocalProperty('unknownProperty')</c> will get the value of the property <c>unknownProperty</c> on the proxy object itself. </description> </item> <item> <term><c>sync</c></term> <description> Asynchronous host object proxies expose a sync method which returns a promise for a synchronous host object proxy for the same host object. For example, <c>chrome.webview.hostObjects.sample.methodCall()</c> returns an asynchronous host object proxy. You can use the <c>sync</c> method to obtain a synchronous host object proxy instead: <code>const syncProxy = await chrome.webview.hostObjects.sample.methodCall().sync()</code> </description> </item> <item> <term><c>async</c></term> <description> Synchronous host object proxies expose an async method which blocks and returns an asynchronous host object proxy for the same host object. For example, <c>chrome.webview.hostObjects.sync.sample.methodCall()</c> returns a synchronous host object proxy. Calling the <c>async</c> method on this blocks and then returns an asynchronous host object proxy for the same host object: <code>const asyncProxy = chrome.webview.hostObjects.sync.sample.methodCall().async()</code> </description> </item> <item> <term><c>then</c></term> <description> Asynchronous host object proxies have a then method. This allows them to be awaitable. <c>then</c> will return a promise that resolves with a representation of the host object. If the proxy represents a JavaScript literal then a copy of that is returned locally. If the proxy represents a function then a non-awaitable proxy is returned. If the proxy represents a JavaScript object with a mix of literal properties and function properties, then the a copy of the object is returned with some properties as host object proxies. </description> </item> </list> All other property and method invocations (other than the above Remote object proxy methods, <c>forceLocalProperties</c> list, and properties on Function and Object prototypes) are run remotely. Asynchronous host object proxies return a promise representing asynchronous completion of remotely invoking the method, or getting the property. The promise resolves after the remote operations complete and the promises resolve to the resulting value of the operation. Synchronous host object proxies work similarly but block JavaScript execution and wait for the remote operation to complete. Setting a property on an asynchronous host object proxy works slightly differently. The set returns immediately and the return value is the value that will be set. This is a requirement of the JavaScript Proxy object. If you need to asynchronously wait for the property set to complete, use the <c>setHostProperty</c> method which returns a promise as described above. Synchronous object property set property synchronously blocks until the property is set. Exposing host objects to script has security risk. Please follow [best practices](https://docs.microsoft.com/microsoft-edge/webview2/concepts/security). </remarks> <seealso cref="T:System.Runtime.InteropServices.ComVisibleAttribute"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.RemoveHostObjectFromScript(System.String)"> <summary> Removes the host object specified by the name so that it is no longer accessible from JavaScript code in the WebView. </summary> <param name="name">The name of the host object to be removed.</param> <remarks> While new access attempts are denied, if the object is already obtained by JavaScript code in the WebView, the JavaScript code continues to have access to that object. Running this method for a name that is already removed or never added fails. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.OpenDevToolsWindow"> <summary> Opens the DevTools window for the current document in the WebView. </summary> <remarks> Does nothing if run when the DevTools window is already open. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddWebResourceRequestedFilter(System.String,Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext)"> <summary> Adds a URI and resource context filter to the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event. </summary> <param name="uri">An URI to be added to the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event.</param> <param name="ResourceContext">A resource context filter to be added to the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event.</param> <remarks> The <c>uri</c> parameter may be set to a wildcard string (<c>'*'</c>: zero or more, <c>'?'</c>: exactly one). <c>null</c> is equivalent to an empty string. </remarks> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.RemoveWebResourceRequestedFilter(System.String,Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext)"/> <seealso cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext"/> <seealso cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.RemoveWebResourceRequestedFilter(System.String,Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext)"> <summary> Removes a matching WebResource filter that was previously added for the <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event. </summary> <param name="uri">An URI to at which a web resource filter was added.</param> <param name="ResourceContext">A previously added resource context filter to be removed.</param> <exception cref="T:System.ArgumentException">A filter that was never added.</exception> <remarks> If the same filter was added multiple times, then it must need to be removed as many times as it was added for the removal to be effective. </remarks> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.AddWebResourceRequestedFilter(System.String,Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext)"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.CookieManager"> <summary> Gets the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager"/> object associated with this <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2"/>. </summary> <seealso cref="T:Microsoft.Web.WebView2.Core.CoreWebView2CookieManager"/> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.Environment"> <summary> Exposes the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2Environment"/> used to create this <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2"/>. </summary> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceResponseReceived"> <summary> WebResourceResponseReceived is raised when the WebView receives the response for a request for a web resource (any URI resolution performed by the WebView; such as HTTP/HTTPS, file and data requests from redirects, navigations, declarations in HTML, implicit favicon lookups, and fetch API usage in the document). The host app can use this event to view the actual request and response for a web resource. There is no guarantee about the order in which the WebView processes the response and the host app's handler runs. The app's handler will not block the WebView from processing the response. </summary> <remarks> The event args include the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest"/> as sent by the wire and <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse"/> received, including any additional headers added by the network stack that were not be included as part of the associated <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2.WebResourceRequested"/> event, such as Authentication headers. </remarks> </member> <member name="E:Microsoft.Web.WebView2.Core.CoreWebView2.DOMContentLoaded"> <summary> DOMContentLoaded is raised when the initial HTML document has been parsed. </summary> <remarks> This aligns with the the document's DOMContentLoaded event in HTML. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.NavigateWithWebResourceRequest(Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest)"> <summary> Navigates using a constructed <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest"/> object. </summary> <param name="Request">The constructed web resource object to provide post data or additional request headers during navigation.</param> <remarks> The headers in the <see cref="T:Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest"/> override headers added by WebView2 runtime except for Cookie headers. Method can only be either <c>GET</c> or <c>POST</c>. Provided post data will only be sent only if the method is <c>POST</c> and the uri scheme is <c>HTTP(S)</c>. </remarks> </member> <member name="P:Microsoft.Web.WebView2.Core.CoreWebView2.IsSuspended"> <summary> Whether WebView is suspended. </summary> <remarks> True when WebView is suspended, from the time when <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.TrySuspendAsync"/> has completed successfully until WebView is resumed. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.TrySuspendAsync"> <summary> An app may call this API to have the WebView2 consume less memory. </summary> <remarks> This is useful when a Win32 app becomes invisible, or when a Universal Windows Platform app is being suspended, during the suspended event handler before completing the suspended event. The CoreWebView2Controller's IsVisible property must be false when the API is called. Otherwise, the API throws COMException with error code of <c>HRESULT_FROM_WIN32(ERROR_INVALID_STATE)</c>. Suspending is similar to putting a tab to sleep in the Edge browser. Suspending pauses WebView script timers and animations, minimizes CPU usage for the associated browser renderer process and allows the operating system to reuse the memory that was used by the renderer process for other processes. Note that Suspend is best effort and considered completed successfully once the request is sent to browser renderer process. If there is a running script, the script will continue to run and the renderer process will be suspended after that script is done. See [Sleeping Tabs FAQ](https://techcommunity.microsoft.com/t5/articles/sleeping-tabs-faq/m-p/1705434) for conditions that might prevent WebView from being suspended. In those situations, the result of the async task is false. The WebView will be automatically resumed when it becomes visible. Therefore, the app normally does not have to call <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.Resume"/> explicilty. The app can call <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.Resume"/> and then <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.TrySuspendAsync"/> periodically for an invisible WebView so that the invisible WebView can sync up with latest data and the page ready to show fresh content when it becomes visible. All WebView APIs can still be accessed when a WebView is suspended. Some APIs like Navigate will auto resume the WebView. To avoid unexpected auto resume, check <see cref="P:Microsoft.Web.WebView2.Core.CoreWebView2.IsSuspended"/> property before calling APIs that might change WebView state. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.Resume"> <summary> Resumes the WebView so that it resumes activities on the web page. </summary> <remarks> This API can be called while the WebView2 controller is invisible. The app can interact with the WebView immediately after <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.Resume"/>. WebView will be automatically resumed when it becomes visible. </remarks> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.SetVirtualHostNameToFolderMapping(System.String,System.String,Microsoft.Web.WebView2.Core.CoreWebView2HostResourceAccessKind)"> <summary> Sets a mapping between a virtual host name and a folder path to make available to web sites via that host name. </summary> <param name="hostName">A virtual host name.</param> <param name="folderPath">A folder path name to be mapped to the virtual host name.</param> <param name="accessKind">The level of access to resources under the virtual host from other sites.</param> <remarks> <para> After setting the mapping, documents loaded in the WebView can use HTTP or HTTPS URLs at the specified host name specified by <c>hostName</c> to access files in the local folder specified by <c>folderPath</c>. This mapping applies to both top-level document and iframe navigations as well as subresource references from a document. This also applies to dedicated and shared worker scripts but does not apply to service worker scripts. Due to a current implementation limitation, media files accessed using virtual host name can be very slow to load. As the resource loaders for the current page might have already been created and running, changes to the mapping might not be applied to the current page and a reload of the page is needed to apply the new mapping. Both absolute and relative paths are supported for <c>folderPath</c>. Relative paths are interpreted as relative to the folder where the exe of the app is in. </para> <para> For example, after calling <code> SetVirtualHostNameToFolderMapping( "appassets.example", "assets", CoreWebView2HostResourceAccessKind.Deny); </code> , navigating to <c>https://appassets.example/my-local-file.html</c> will show content from my-local-file.html in the assets subfolder located on disk under the same path as the app's executable file. </para> <para> You should typically choose virtual host names that are never used by real sites. If you own a domain such as <c>example.com</c>, another option is to use a subdomain reserved for the app (like <c>my-app.example.com</c>). </para> <para> [RFC 6761](https://tools.ietf.org/html/rfc6761) has reserved several special-use domain names that are guaranteed to not be used by real sites (for example, <c>.example</c>, <c>.test</c>, and <c>.invalid</c>.) </para> <para> Apps should use distinct domain names when mapping folder from different sources that should be isolated from each other. For instance, the app might use app-file.example for files that ship as part of the app, and book1.example might be used for files containing books from a less trusted source that were previously downloaded and saved to the disk by the app. </para> <para> The host name used in the APIs is canonicalized using Chromium's host name parsing logic before being used internally. </para> <para> All host names that are canonicalized to the same string are considered identical. For example, <c>EXAMPLE.COM</c> and <c>example.com</c> are treated as the same host name. An international host name and its Punycode-encoded host name are considered the same host name. There is no DNS resolution for host name and the trailing '.' is not normalized as part of canonicalization. </para> <para> Therefore <c>example.com</c> and <c>example.com.</c> are treated as different host names. Similarly, <c>virtual-host-name</c> and <c>virtual-host-name.example.com</c> are treated as different host names even if the machine has a DNS suffix of <c>example.com</c>. </para> <para> Specify the minimal cross-origin access necessary to run the app. If there is not a need to access local resources from other origins, use <see cref="F:Microsoft.Web.WebView2.Core.CoreWebView2HostResourceAccessKind.Deny"/>. </para> </remarks> <example> <code> webView.CoreWebView2.SetVirtualHostNameToFolderMapping( "appassets.example", "assets", CoreWebView2HostResourceAccessKind.DenyCors); webView.Source = new Uri("https://appassets.example/index.html"); </code> </example> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.ClearVirtualHostNameToFolderMapping(System.String)"/> </member> <member name="M:Microsoft.Web.WebView2.Core.CoreWebView2.ClearVirtualHostNameToFolderMapping(System.String)"> <summary> Clears a host name mapping for local folder that was added by <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.SetVirtualHostNameToFolderMapping(System.String,System.String,Microsoft.Web.WebView2.Core.CoreWebView2HostResourceAccessKind)"/>. </summary> <param name="hostName">The host name to be removed from the mapping.</param> <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.SetVirtualHostNameToFolderMapping(System.String,System.String,Microsoft.Web.WebView2.Core.CoreWebView2HostResourceAccessKind)"/> </member> </members> </doc> |