C# Класс RadioDld.OsUtils

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
LaunchUrl ( Uri url, string action ) : void

Launch the specified URL in the user's browser, with added tracking parameters if the URL to be launched is part of nerdoftheherd.com.

Приватные методы

Метод Описание
ApplyRunOnStartup ( ) : void
CompositionEnabled ( ) : bool
PathAvailableSpace ( string path ) : ulong

Return the number of available bytes in the specified file path.

DriveInfo.AvailableFreeSpace gives this information, but only for drives. This makes it less useful as paths may contain NTFS junction points, symbolic links, or be UNC paths.

TrayAnimate ( Form form, bool down ) : void
VisibleOnScreen ( Rectangle location ) : bool
WinSevenOrLater ( ) : bool
WinVistaOrLater ( ) : bool
WinXpOrLater ( ) : bool
Windows ( ) : bool

Описание методов

LaunchUrl() публичный статический Метод

Launch the specified URL in the user's browser, with added tracking parameters if the URL to be launched is part of nerdoftheherd.com.
public static LaunchUrl ( Uri url, string action ) : void
url System.Uri The URL to open.
action string The action which caused the URL to be launched, which will be set as the 'campaign'.
Результат void