CefRemoveCrossOriginWhitelistEntry Method |
Version 105.3.390 Remove entry from cross-origin whitelist
Namespace:
CefSharp
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 105.3.390.0
Syntax public static bool RemoveCrossOriginWhitelistEntry(
string sourceOrigin,
string targetProtocol,
string targetDomain,
bool allowTargetSubdomains
)
public:
static bool RemoveCrossOriginWhitelistEntry(
String^ sourceOrigin,
String^ targetProtocol,
String^ targetDomain,
bool allowTargetSubdomains
)
Parameters
- sourceOrigin
- Type: SystemString
The origin allowed to be accessed by the target protocol/domain. - targetProtocol
- Type: SystemString
The target protocol allowed to access the source origin. - targetDomain
- Type: SystemString
The optional target domain allowed to access the source origin. - allowTargetSubdomains
- Type: SystemBoolean
If set to true would allow a blah.example.com if the
targetDomain was set to example.com
Return Value
Type:
Boolean[Missing <returns> documentation for "M:CefSharp.Cef.RemoveCrossOriginWhitelistEntry(System.String,System.String,System.String,System.Boolean)"]
Remarks
Remove an entry from the cross-origin access whitelist. Returns false if
sourceOrigin is invalid or the whitelist cannot be accessed.
See Also