[DllImport("ntdll.dll")]
public static extern int NtQuerySymbolicLinkObject(
SafeFileHandle LinkHandle,
ref UNICODE_STRING LinkTarget,
out int ReturnedLength);
Do you know one? Please contribute it!
None.
Requires buffers. For example:
int len;
var buffer = new UNICODE_STRING(new string(' ', 512));
NtQuerySymbolicLinkObject(h, ref buffer, out len);
Debug.WriteLine(buffer.ToString());