Closed TerrorJack closed 4 years ago
Thanks @TerrorJack! I do wonder though if we should just add a Bool
flag to the two existing APIs. I have a slight preference for that.. what do you think?
@Mistuke That would require a major version bump in Win32
right? I also prefer adding Bool
flags if you're okay with that.
Yes but the version will be bumped for other changes anyway :)
So go ahead with the Bool flag!
@TerrorJack oh sorry, github didn't send a notification with the new push..Thanks!
Description
Adds a
Bool
argument tocreateSymbolicLinkFile
/createSymbolicLinkDirectory
inSystem.Win32.SymbolicLink
, allowing users to create symlinks without requiring Administrator privilege in the current process.Motivation and Context
Starting from Windows 10 version 1703 (Creators Update), after enabling Developer Mode, users can create symbolic links without requiring the Administrator privilege in the current process. See the Win32 API documentation of
CreateSymbolicLinkW
for details.Types of changes
Checklist:
Win32.cabal
.