- Open Registry Editor as admin
- Navigate to
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows. - Right-click on the
Windowskey, select New, then Key, and name itExplorer. - Click on the new
Explorerkey. Right-click in the right pane, select New, then DWORD (32-bit) Value, and name itDisableSearchBoxSuggestions. - Double-click DisableSearchBoxSuggestions and set the Value data to 1.
- Click OK, close the Registry Editor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace TestApp.Models.Settings; | |
| [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1649:File name should match first type name", Justification = "This is small utility.")] | |
| public static class Key | |
| { | |
| public const string AutoStartApp = "AutoStartApp"; | |
| public const string Ping1Enabled = "ping1-enabled"; | |
| public const string Ping1Host = "ping1-host"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.ComponentModel; | |
| using System.Globalization; | |
| using System.Reflection; | |
| using Avalonia.Data.Converters; | |
| namespace Diagnostics.Converters; | |
| public class EnumDescriptionConverter : IValueConverter | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // The following was tested using RolsynPad 20.0 | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| // Example usage | |
| var ini = new IniFile(); | |
| ini.Load("config.ini"); |
- dnSpyEx - Unofficial revival of the well known .NET debugger and assembly editor, dnSpy
- CodemerxDecompile - .NET multi-platform decompiler (original makers of JustDecompile)
- de4dot - .NET deobfuscator and unpacker. (archived 2020)
- ILSpy - .NET Decompiler with support for PDB generation, ReadyToRun, Metadata - cross-platform!
- Iced - Blazing fast and correct x86/x64 disassembler, assembler, decoder, encoder for Rust, .NET, Java, Python, Lua
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.Maui.Storage; | |
| using System.Security.Cryptography; | |
| using System.Text; | |
| // Based on: https://github.com/soyfrien/ImageCache | |
| namespace MyProjectNamespace; | |
| /// <summary> | |
| /// Use this class to cache images from the Internet. | |
| /// Its functions receive a URI and turn the resource into an ImageSource, byte array, Stream, or Func‹Stream›. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <UserControl.Resources> | |
| <ResourceDictionary> | |
| <DataTemplate x:Key="FlatDeviceInfo" DataType="models:DeviceInfo"> | |
| <TextBlock> | |
| <TextBlock.Text> | |
| <MultiBinding StringFormat="{}{0} - {1}"> | |
| <Binding Path="Address" /> | |
| <Binding Path="DeviceTypeName" /> | |
| </MultiBinding> | |
| </TextBlock.Text> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Example showing how to share an API route with a Web (view) | |
| * If the request expects JSON, it shall receive it. Otherwise, display the View. | |
| * Remember, just because you can, doesn't mean you should. | |
| */ | |
| class ActivityController extends Controller | |
| { | |
| /** | |
| * Display a listing of the resource. | |
| */ |
NewerOlder