{"success":true,"data":{"ext":"suo","name":"Visual Studio Solution User Options subheader","description":"Visual Studio Solution User Options (.suo) is a Microsoft Visual Studio file format used to store user-specific solution data and is maintained by Microsoft as part of the Visual Studio development environment. It supports settings such as window layout, breakpoints, debugging state, and other per-user preferences associated with a solution. The format is generally safe and local to a developer’s workspace, although it is often excluded from source control because it may contain machine-specific data.","mime":[],"risk_level":"Safe","signatures":[{"hex":"FD FF FF FF 04","offset":512,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["ctl","dsw","dsp","pch","vcw"],"usage":{"python":"def is_suo(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SUO by magic bytes at offset 512.\"\"\"\n    signature = bytes([0xFD, 0xFF, 0xFF, 0xFF, 0x04])\n    with open(file_path, \"rb\") as f:\n        f.seek(512)\n        return f.read(5) == signature","node":"function isSUO(buffer: Buffer): boolean {\n  const signature = Buffer.from([0xFD, 0xFF, 0xFF, 0xFF, 0x04]);\n  if (buffer.length < 517) return false;\n  return buffer.subarray(512, 517).equals(signature);\n}","go":"func IsSUO(data []byte) bool {\n    signature := []byte{0xFD, 0xFF, 0xFF, 0xFF, 0x04}\n    if len(data) < 517 {\n        return false\n    }\n    return bytes.Equal(data[512:517], signature)\n}"},"category":"Source Code"}}