/// <summary> /// *Windows* /// Creates or updates a shortcut link at shortcutPath. /// </summary> /// <param name="shortcutPath"></param> /// <param name="options"></param> /// <returns>Whether the shortcut was created successfully.</returns> public bool writeShortcutLink(string shortcutPath, ShortcutDetails options) { return(API.Apply <bool>("writeShortcutLink", shortcutPath, options)); }
/// <summary> /// *Windows* /// Resolves the shortcut link at shortcutPath. /// An exception will be thrown when any error happens. /// </summary> /// <param name="shortcutPath"></param> /// <returns></returns> public ShortcutDetails readShortcutLink(string shortcutPath) { object result = API.Apply("readShortcutLink", shortcutPath); return(ShortcutDetails.FromObject(result)); }