preface
1、GUID:Global Unique Identifier (GUID, Globally Unique Identifier) 2. The format of GUID is "xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx", where each x is a hexadecimal number or character in the range 0-9 or a-f
How to generate guids
var uuid = Guid.NewGuid().ToString(); // 9af7f46a-ea52-4aa3-b8c3-9fd484c2af12
var uuidN = Guid.NewGuid().ToString("N"); // e0a953c3ee6040eaa9fae2b667060e09
var uuidD = Guid.NewGuid().ToString("D"); // 9af7f46a-ea52-4aa3-b8c3-9fd484c2af12
var uuidB = Guid.NewGuid().ToString("B"); // {734fd453-a4f8-4c5d-9c98-3fe2d7079760}
var uuidP = Guid.NewGuid().ToString("P"); // (ade24d16-db0f-40af-8794-1e08e2040df3)
var uuidX = Guid.NewGuid().ToString("X"); // {0x3fa412e3,0x8356,0x428f,{0xaa,0x34,0xb7,0x40,0xda,0xaf,0x45,0x6f}}
Read More:
- Linux Use dtc generate dtb Error: “FATAL ERROR: Unable to parse input tree“
- [Solved] Failed to connect to 127.0.0.1 port XXXX: Connection refused
- Using apt get to delete software completely
- [Solved] Ubuntu Error: Failed to connect to 127.0.0.1 port xxxxx: Connection refused
- Linux Error: Failed to connect to ::1: No route to the host
- Ubuntu Startup Error: warning failed to connect to lvmetad,falling back to device scanning
- Solution to gzip: stdin: invalid compressed data — format violated error in decompressing. Tgz file under Linux
- How to Export All data in DataGridView to Local Excel
- C#: How to Use Itextsharp to Manipulate PDF Files
- How to Solve Ubuntu “Failed to fetch” Error
- [Solved] Git Error: OpenSSL SSL_read: Connection was reset, errno 10054和Failed to connect to github.com port 443
- Linux: How to Fix undefined reference to `itoa’
- The JSON variable is parsed in the shell to obtain the value corresponding to the key
- Using common file upload to upload files in SSH project
- How to Solve Error: “Hdaudio hdaudioc0d2: unable to bind codec”
- Linux Nagios failed to log in to internal server error (Fixed)
- How to fix the ERROR: Failed to build gem native extension in Centos 8
- ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
- How to Solve C++ Error: “no matching function for call to ‘atoi/atof’”
- You might want to save ‘/run/in itramf s/rdsosreport.txt“ to a USB stick or bootaf ter mounting