ChromiumFX/Generated/Remote/CfrRuntime.cs
/// <summary>
/// This is a convenience function for formatting a URL in a concise and human-
/// friendly way to help users make security-related decisions (or in other
/// circumstances when people need to distinguish sites, origins, or otherwise-
/// simplified URLs from each other). Internationalized domain names (IDN) may be
/// presented in Unicode if the conversion is considered safe. The returned value
/// will (a) omit the path for standard schemes, excepting file and filesystem,
/// and (b) omit the port if it is the default for the scheme. Do not use this
/// for URLs which will be parsed or sent to other applications.
/// </summary>
/// <remarks>
/// See also the original CEF documentation in
/// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_parser_capi.h">cef/include/capi/cef_parser_capi.h</see>.
/// </remarks>
This is a convenience function for formatting a URL in a concise and human
friendly way to help users make security-related decisions (or in other
circumstances when people need to distinguish sites, origins, or otherwise
simplified URLs from each other). Internationalized domain names (IDN) may be
presented in Unicode if the conversion is considered safe. The returned value
will (a) omit the path for standard schemes, excepting file and filesystem,
and (b) omit the port if it is the default for the scheme. Do not use this
for URLs which will be parsed or sent to other applications.
This is a convenience function for formatting a URL in a concise and human friendly way to help users make security - related decisions ( or in other circumstances when people need to distinguish sites origins or otherwise simplified URLs from each other ) . Internationalized domain names ( IDN ) may be presented in Unicode if the conversion is considered safe . The returned value will ( a ) omit the path for standard schemes excepting file and filesystem and ( b ) omit the port if it is the default for the scheme . Do not use this for URLs which will be parsed or sent to other applications .
public static string FormatUrlForSecurityDisplay(string originUrl) {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call = new CfxRuntimeFormatUrlForSecurityDisplayRemoteCall();
            call.originUrl = originUrl;
            call.RequestExecution(connection);
            return call.__retval;
        }
public static string FormatUrlForSecurityDisplay ( string originUrl ) { var connection = CfxRemoteCallContext . CurrentContext . connection ; var call = new CfxRuntimeFormatUrlForSecurityDisplayRemoteCall ( ) ; call . originUrl = originUrl ; call . RequestExecution ( connection ) ; return call . __retval ; }
This is a convenience function for formatting a URL in a concise and human
friendly way to help users make security-related decisions (or in other
circumstances when people need to distinguish sites, origins, or otherwise
simplified URLs from each other).
This is a convenience function for formatting a URL in a concise and human friendly way to help users make security - related decisions ( or in other circumstances when people need to distinguish sites origins or otherwise simplified URLs from each other ) .
originUrl
string
remarks
See also the original CEF documentation in
cef/include/capi/cef_parser_capi.h
See also the original CEF documentation in cef / include / capi / cef_parser_capi . h