public Boolean CreateLink(LinkData data) { foreach (var link in data.Items) { Library.CreateSymbolicLink(link.DestinationData, link.SourceData, link.IsDirectory ? Library.SYMBOLIC_LINK_FLAG.Directory : Library.SYMBOLIC_LINK_FLAG.File); } Application.Exit(); return true; }
public Boolean CreateLink(LinkData data) { foreach (var link in data.Items) { Library.CreateSymbolicLink(link.DestinationData, link.SourceData, link.IsDirectory ? Library.SYMBOLIC_LINK_FLAG.Directory : Library.SYMBOLIC_LINK_FLAG.File); } Application.Exit(); return(true); }