Skip to main content Skip to in-page navigation Skip to Ask Learn chat experience

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English Edit

Note

Access to this page requires authorization. You can try signing in or changing directories.

Access to this page requires authorization. You can try changing directories.

LaunchServices Class

Definition

Namespace:
CoreServices
Assembly:
Microsoft.macOS.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

public static class LaunchServices
type LaunchServices = class
Inheritance
Object
LaunchServices

Methods

Name Description
CanUrlAcceptUrl(NSUrl, NSUrl, LSRoles, LSAcceptanceFlags, LSResult)
CanUrlAcceptUrl(NSUrl, NSUrl, LSRoles, LSAcceptanceFlags)
GetAllHandlersForUrlScheme(String)
GetAllRoleHandlersForContentType(String, LSRoles)
GetApplicationUrlsForBundleIdentifier(String)
GetApplicationUrlsForUrl(NSUrl, LSRoles)
GetDefaultApplicationUrlForContentType(String, LSRoles)
GetDefaultApplicationUrlForUrl(NSUrl, LSRoles)
GetDefaultHandlerForUrlScheme(String)
GetDefaultRoleHandlerForContentType(String, LSRoles)
Open(NSUrl, NSUrl)
Open(NSUrl)
Register(NSUrl, Boolean)
SetDefaultHandlerForUrlScheme(String, String)
SetDefaultRoleHandlerForContentType(String, String, LSRoles)

Applies to

In this article

en-us
Your Privacy Choices
  • AI Disclaimer
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Consumer Health Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2026