Olof Lagerkvist

Results 135 comments of Olof Lagerkvist

Change ``` fs.OpenFile(name, FileMode.Open, FileAccess.Read); System.IO.File.Copy(name, @"D:\", true); ``` To ``` using var sourceStream = fs.OpenFile(name, FileMode.Open, FileAccess.Read); using var targetStream = System.IO.File.OpenWrite(@"D:\" + name); sourceStream.CopyTo(targetStream); ``` You don't need...

> dude you are amazing thank you for helping me patiently. Finally, I have one more question to ask var disk = new DiscUtils.Xva.Disk(secilen.Text, System.IO.FileAccess.Read); > > When I make...

> I want to display the structure I read in the treeview content. But I found that it doesn't read folder by folder in the loop. How can I do...

> I am using Xaml. How can I number each directory, can you show me on my sample code above? It returns a directory instead of a folder in the...

We have made lots of changes in the LTRData fork of DiscUtils regarding file name and symbolic link compatibility. Have you tried it and it does not work there either...

No, I meant that you could try first with the LTRData.DiscUtils fork of this repository. That will probably help because I recognize this kind of issues as something we had...

I assume that you have seen this line: https://github.com/dokan-dev/dokan-dotnet/blob/master/DokanNet%2FDokanOperationProxy.cs#L411 And yes, it looks like it copies the whole buffer. But the value of `rawReadLegth` is reported back to the OS...

Okay. I think it would be interesting in your case to just try and change the `Marshal.Copy` code in the library to use the reported length instead of initial length...

Thanks for testing! Based on your results, it seems like something we probably need to address somehow. I'll take a closer look at this next week when I am back...

> @Liryna please see above. You can repro the issue with Mirror if you limit the amount of bytes read to 128 in `ReadFile` implementation. But that is not a...