[Mono-list] Hard linking
Adrien Dessemond
adrien.dessemond at softhome.net
Tue Sep 2 11:43:41 EDT 2008
Hi,
I would have a look there :
http://www.go-mono.com/docs/index.aspx?tlink=0@N%3AMono.Posix
(Mono specific !)
On Windows you can import and p/invoke CreateHardLink() in the worst case,
see http://msdn.microsoft.com/en-us/library/aa363860(VS.85).aspx and
http://community.bartdesmet.net/blogs/bart/archive/2006/10/24/Windows-Vista-_2D00_-Creating-symbolic-links-with-C_2300_.aspx
for further details. Altought a better approach would be to use an
existing wrapper, at least if that one would exist (maybe somewhere in the
Microsoft.* namespace ?).
Cheers,
--
On Tue, September 2, 2008 10:30 am, Magikat wrote:
>
> Could anyone tell me if hard-linking on both Linux and Windows is
> supported
> under the .Net Framework.
>
> If not, could you perhaps point to some information that might help
> writing
> something to help with hard-linking in C#.
>
> Thanks.
>
> Mag.
> --
> View this message in context:
> http://www.nabble.com/Hard-linking-tp19271316p19271316.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
More information about the Mono-list
mailing list