NDepend.API Documentation
IsSupportedByTheCurrentOperatingSystem Property
NDepend.Path Namespace > IAbsolutePath Interface : IsSupportedByTheCurrentOperatingSystem Property
Gets a value indicating if the current absolute path is supported by the current operating system.
Syntax
bool IsSupportedByTheCurrentOperatingSystem {get;}
Remarks
When running on Windows, returns true if Kind is AbsolutePathKind.DriveLetter or AbsolutePathKind.UNC.
When running on Linux or MacOS returns true if Kind is AbsolutePathKind.LinuxStyle.
Else returns false.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IAbsolutePath Interface
IAbsolutePath Members