[DllImport("Kernel32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.Bool)] public static extern uint ExpandEnvironmentStringsA( string lpSrc, [Out] StringBuilder lpDst, uint nSize );
Microsoft documentation: Link
Last updated 1 year ago