UtilTweaking Class

Contains system-parameter related tweaking utilities.

Definition

Namespace: DevCase.Core.Windows.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class UtilTweaking
Inheritance
Object    UtilTweaking

Properties

AcceleratorKeysEnabled Gets or sets a value that determines whether the accelerator keys are enabled.

The accelerator keys are visible underlined characters in some menus.

ActiveWindowTrackingEnabled Gets or sets a value that determines whether active window tracking (activating the window the mouse is on) is enabled.
ActiveWindowTrackingTimeout Gets or sets the active window tracking delay, in milliseconds.
AeroPeekEnabled Gets or sets a value that determines whether Aero Peek (preview desktop) is enabled.
AutoEndTasks Gets or sets a value that determines whether user processes end automatically when the user either logs off or shuts down.
AutomaticNetworkDiscoveryEnabled Gets or sets a value that determines whether the automatic searching for network folders and printers is enabled.
BeepEnabled Gets or sets a value that determines whether system beep is enabled.
BingSearchEnabled Gets or sets a value that determines whether Bing search is enabled in Windows searcher.

This feature is available only in window 10.

BlockSendInputResetsEnabled Gets or sets a value that determines whether an application can reset the screensaver's timer by calling the SendInput function to simulate keyboard or mouse input.
BorderMultiplierFactor Gets or sets the border multiplier factor that determines the width of a window's sizing border.
CaretWidth Gets or sets the width, in pixels, of the caret in edit controls.
CleartypeEnabled Gets or sets a value that determines whether ClearType feature is enabled.
ClientAreaAnimationEnabled Gets or sets a value that determines whether animation effects in the client area of applications are enabled.
CombineSystemTrayIcons Gets or sets a value that determines whether icons are combined in the SysTray.
CombineTaskbarApplications Gets or sets a value that determines whether applications are combined in the Taskbar.
ComboBoxAnimationEnabled Gets or sets a value that determines whether the slide-open effect for combo boxes is enabled.
ComputerName Gets or sets the computer name for the current machine.

Note that the name change do not take effect until the user restarts the computer.

ConfirmRecycle Gets or sets a value that determines whether the system will show a confirmation dialog box when deleting items to the Recycle Bin.
ConsoleBackColor Gets or sets the background color of the CMD.
ConsoleBufferAmount Gets or sets the amount of buffers of the CMD, valid range is from 1 to 999.
ConsoleBufferSize Gets or sets the buffer size of the CMD, valid range is from 1 to 999.
ConsoleEditEnabled Gets or sets a value that determines whether quick edit is enabled in the CMD.
ConsoleForeColor Gets or sets the foreground color of the CMD.
ConsoleTransparency Gets or sets a value that determines the transparency of the CMD, valid range is from 0.0F to 1.0F.

This feature is available only in window 10 and the new Console should be enabled, see Consolev2Enabled.

Consolev2Enabled Gets or sets a value that determines whether the new Console (CMD) is enabled in Windows.

This feature is available only in window 10.

CortanaEnabled Gets or sets a value that determines whether Cortana is enabled in Windows.

Note that this DOESN'T uninstall Cortana, just disable it.

This feature is available only in window 10.

CortanaSearchBoxEnabled Gets or sets a value that determines whether Cortana search box is shown in the Taskbar.

This feature is available only in window 10.

CortanaSearchEnabled Gets or sets a value that determines whether Cortana search is enabled in Windows searcher.

This feature is available only in window 10.

CursorShadowEnabled Gets or sets a value that determines whether the cursor has a shadow around it.
DefaultTTL Gets or sets a value that specifies the default Time to Live (TTL) value in the header of outgoing IP packets.

The TTL determines how long an IP packet that has not reached its destination can remain on the network before it is discarded.

DefragBootOptimizeEnabled Gets or sets a value that determines whether Defragmentation's Boot optimization is enabled.

Windows automatically optimizes the file location for boot optimization. This optimization occurs automatically if the system is idle for 10 minutes.

Boot optimization improves startup time by locating startup files in contiguous clusters on the volume, reducing the movement of the disk head when reading the volume.

DefragOptimalLayoutEnabled Gets or sets a value that determines whether Defragmentation's Optimal Layout is enabled.
DesktopAutoColorizationEnabled Gets or sets a value that determines whether the desktop auto colorizes itself based on the predominant color of the current wallpaper.
DesktopLivePreviewHoverTime Gets or sets a value that determines the time it takes for Aero Peek to display when you hover over its icon in the far right of the Taskbar.
DoubleClickSize Gets or sets the width and height, in pixels, of the double-click rectangle which the second click of a double-click must fall for it to be registered as a double-click.
DoubleClickTime Gets or sets the maximum number of milliseconds that can occur between the first and second clicks of a double-click.
DragFullWindowsEnabled Gets or sets a value that enables or disables dragging of full windows.
DragSize Gets or sets the width and height, in pixels, of the rectangle used to detect the start of a drag operation.
DropShadowEnabled Gets or sets a value that determines whether drop shadow effect feature is enabled.
ExplorerNavigationPanelEnabled Gets or sets a value that determines whether navigation panel (left pane) is enabled in Explorer.
ExtendedPathsEnabled Gets or sets a value that determines whether the extended-length paths is enabled on the current drive.

In Windows system, the maximum length for a path is composed of 260 characters, however, the Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of approximately 32.767 characters.

FileCheckboxSelectionEnabled Gets or sets a value that determines whether the checkbox folder view is enabled in Explorer, this way the user can select all items with a checkbox.
FileThumbnailPreviewEnabled Gets or sets a value that determines whether the system should create thumbnails for preview files.

If disabled, the system will generate generic icons only.

FiletypeOverlayEnabled Gets or sets a value that determines whether a thumbnail should show the application that would be invoked when opening a Explorer item.
FlatMenuEnabled Gets or sets a value that determines whether flat menu appearance for native User menus are enabled.
FocusBorderSize Gets or sets the width and height, in pixels, of the focus rectangle drawn with DrawFocusRect.
FolderMergeConflictDialogEnabled Gets or sets a value that determines whether a conflict dialog will be shown when trying to merge folders.
FontSmoothingContrast Gets or sets the contrast value used in ClearType smoothing. From 1000 to 2200.
FontSmoothingEnabled Gets or sets a value that enables or disables the font smoothing feature, which uses font antialiasing to make font curves appear smoother by painting pixels at different gray levels.
ForegroundFlashCount Gets or sets the number of times SetForegroundWindow will flash the taskbar button when rejecting a foreground switch request.
ForegroundLockTimeout Gets or sets the amount of time following user input, in milliseconds, during which the system will not allow applications to force themselves into the foreground.
HideDrivesWithNoMedia Gets or sets a value that determines whether drives with no media inserted will be hidden in Explorer.
HotCornerTopLeftEnabled Gets or sets a value that determines whether the top-left hot corner is enabled in the desktop.
HotCornerTopRightEnabled Gets or sets a value that determines whether the top-right hot corner is enabled in the desktop.
HotTrackingEnabled Gets or sets a value that determines whether hot tracking of user-interface elements such as menu names on menu bars is enabled. Hot-tracking means that when the cursor moves over an item, it is highlighted but not selected.
HungAppTimeout Gets or sets the number of milliseconds that a thread can go without dispatching a message before the system considers it unresponsive.
IconSpacing Gets or sets the width and height, in pixels, of an icon cell.
IconTitleWrappingEnabled Gets or sets a value that determines whether icon-title wrapping is enabled.
InfoTipEnabled Gets or sets a value that determines whether pop-up description for folders and files is enabled.
InstallDate Gets or sets the installation date of the current operating system of this computer.
KeyboardDelay Gets or sets the keyboard repeat-delay. From 0 to 3. Where zero sets the shortest delay (approximately 250 ms) and 3 sets the longest delay (approximately 1 second).
KeyboardSpeed Gets or sets the keyboard repeat-speed.
ListBoxSmoothScrollingEnabled Gets or sets a value that determines whether the smooth-scrolling effect for list boxes is enabled.
LowDiskFreeSpaceNotificationEnabled Gets or sets a value that determines whether a popup will be shown when a hard disk has low disk free space available.
MenuAccessKeysUnderlined Gets or sets a value that determines whether underlining of menu access key letters is enabled.
MenuAnimationEnabled Gets or sets a value that determines whether menu animations are enabled.
MenuFadeEnabled Gets or sets a value that determines whether menu fade animation is enabled.
MenuShowDelay Gets or sets the time, in milliseconds, that the system waits before displaying a cascaded shortcut menu when the mouse cursor is over a submenu item.
MessageDuration Gets or sets the time that notification pop-ups should be displayed, in seconds.
MinAnimate Gets or sets a value that determines whether a window animates while being resized.
MinimumSelectedItemsToInvokeMenu Gets or sets a value that determines the minimum items selected in the Explorer to show context menu options that are associated with the selected file extension(s).

Valid range is from 1 to 2.147.483.647 (or Int32).

Default system value is 15.

MouseButtonsSwapEnabled Gets or sets a value that swaps or restores the meaning of the left and right mouse buttons.
MouseClickLockEnabled Gets or sets a value that determines whether mouse clicklock feature is enabled.
MouseClickLockTime Gets or sets the time delay before the primary mouse button is locked.
MouseHoverSize Gets or sets the width and height, in pixels, of the rectangle which the mouse pointer has to stay for TrackMouseEvent to generate a WM_MOUSEHOVER message.
MouseHoverTime Gets or sets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle for TrackMouseEvent to generate a WM_MOUSEHOVER message.
MouseSonarEnabled Gets or sets a value that determines whether mouse sonar feature is enabled.
MouseSpeed Gets or sets the current mouse speed. From 1 to 20.
MouseTrailAmount Gets or sets the number of cursors drawn when mouse trail feature is enabled.
MouseTrailEnabled Gets or sets a value that determines whether cursor movements shows a trail of cursors.
MouseVanishEnabled Gets or sets a value that determines whether mouse vanish feature is enabled.
MouseWheelScrollLines Gets or sets the number of lines to scroll when the mouse wheel is rotated.
MyPCDisplayName Gets or sets the display name for MyPC folder.
NoSimpleNetIDList Gets or sets a value that determines whether network files or folders are automatically refreshed after you create, move or delete files or folders.
NotepadWordwrapEnabled Gets or sets a value that determines whether wordwrap is enabled in Notepad.
NotificationCenterEnabled Gets or sets a value that determines whether Notification Center is enabled.
OemLogo Gets or sets the logo field of the OEM information of this computer.

For example: C:\Windows\System32\OEMLogo.bmp

OemManufacturer Gets or sets the manufacturer name of the OEM information of this computer.
OemModel Gets or sets the model name of the OEM information of this computer.
OemSupportHours Gets or sets the support hours field of the OEM information of this computer.

For example: 24x7x365

OemSupportPhone Gets or sets the support phone field of the OEM information of this computer.

For example: (842) 555-4335

OemSupportUrl Gets or sets the support phone field of the OEM information of this computer.

For example: http://www.domain.com/

OverlappedContentEnabled Gets or sets a value that determines whether overlapped content is enabled.
PopupMenuAlignment Gets or sets the side of pop-up menus that are aligned to the corresponding menu-bar item.
ProductId Gets or sets the product identifier of this computer.
ProductName Gets or sets the product name of this computer.
RegisteredOrganization Gets or sets the registered organization name of this computer.
RegisteredOwner Gets or sets the registered owner name of this computer.
RunExplorerInSeparateProcessEnabled Gets or sets a value that determines whether the system should run Explorer instances in separate processes.
ScreensaverEnabled Gets or sets a value that determines whether screensaver is enabled.
ScreensaverTimeout Gets or sets the screen saver time-out, in seconds. From 1 to 599940.
ScreensaveSecureEnabled Gets or sets a value that determines whether the screen saver requires a password to display the Windows desktop.
SecurityCenterNotificationsEnabled Gets or sets a value that determines whether Security Center will display notifications.
SelectionFadeEnabled Gets or sets a value that determines whether a selected menu item by the user should remain on the screen briefly while fading out after the menu is dismissed.
ShowCompressedFilesColor Gets or sets a value that determines whether the system will show encrypted or compressed NTFS files in different color than normal files.
ShowDesktopIcons Gets or sets a value that determines whether the system will show or hide the Desktop icons.
ShowFilenameExtensions Gets or sets a value that determines whether filename extensions are shown.
ShowFrequentDirsInQuickAccess Gets or sets a value that determines whether frequent directories are shown in the Quick Access dialog.

This feature is available only in window 10.

ShowFullPathInExplorer Gets or sets a value that determines whether full path is shown in Explorer's address bar.
ShowHiddenFiles Gets or sets a value that determines whether hidden files and folders are shown.
ShowOneDriveInFolderBrowser Gets or sets a value that determines whether One Drive is visible in the folder browser dialog.

This feature is available only in window 10.

ShowOneDriveInMyPC Gets or sets a value that determines whether One Drive is visible in My PC.

This feature is available only in window 10.

ShowQuickAccessInFolderBrowser Gets or sets a value that determines whether Quick Access is visible in the folder browser dialog.

This feature is available only in window 10.

ShowQuickAccessInMyPC Gets or sets a value that determines whether Quick Access is visible in My PC.

This feature is available only in window 10.

ShowRecentItemsInQuickAccess Gets or sets a value that determines whether recent items are shown in the Quick Access dialog.

This feature is available only in window 10.

ShowShortcutFileExtension Gets or sets a value that determines whether shortcut files will display the ".lnk" extension.
ShowShortcutSuffix Gets or sets a value that determines whether the suffix "shortcut" is shown for new shortcut files (.lnk).
ShowSuperHiddenFiles Gets or sets a value that determines whether the system should show operating system files.
ShowSystemFiles Gets or sets a value that determines whether the system will show system files.
Obsolete.
ShowUrlFileExtension Gets or sets a value that determines whether internet shortcut files will display the ".url" extension.
ShowWindowsStorePinnedInTaskbar Gets or sets a value that determines whether Windows Store pinned item will be shown in Taskbar.

This feature is available only in window 10.

SlowSearchNotificationEnabled Gets or sets a value that determines whether Windows Search will display a notification about low searchs, suggesting to enable file indexation.
SnapToDefaultEnabled Gets or sets a value that determines whether the snap-to-default-button feature is enabled.
StatusBarEnabled Gets or sets a value that determines whether the Explorer's status bar is enabled.
SystemDateTime Gets or sets the system date and time.
SystemLanguageBarEnabled Gets or sets a value that determines whether the system language bar is enabled.
TaskbarAnimationsEnabled Gets or sets a value that determines whether Defragmentation's Optimal Layout is enabled.
TitleBarGradientEnabled Gets or sets a value that determines whether the gradient effect for window title bars are enabled.
ToolTipAnimationEnabled Gets or sets a value that determines whether ToolTip animations are enabled.
UIEffectsEnabled Gets or sets a value that determines whether UI effects are enabled.
WaitToKillAppTimeout Gets or sets the number of milliseconds that the system waits before terminating an application that does not respond to a shutdown request.
WaitToKillServiceTimeout Gets or sets the number of milliseconds that the service control manager waits before terminating a service that does not respond to a shutdown request.
WheelscrollChars Gets or sets the number of characters to scroll when the horizontal mouse wheel is moved.
WindowArrangementEnabled Gets or sets a value that determines whether window arrangement is enabled.
WindowsErrorReportingEnabled Gets or sets a value that determines whether Windows Error Reporting (WER) is enabled.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
RemoveArrowIconOfShortcutFiles This method will remove the arrow icon of (.lnk) shortcut files.

A system reboot or user re-logon is required to apply changes.

ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also