You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The VirtualDisk class has static OpenDisk() methods which accept a file path as input. I have a use case where I don't necessarily know the disk type, but I only have a stream, not a file path.
Is there any way to use the convenience OpenDisk() method with a stream rather than a local file?
The text was updated successfully, but these errors were encountered:
The path based VirtualDisk.OpenDisk methods are based on recognizing image file format using file name extensions, not image file contents. Therefore, there is no similar detection logic for Stream based overloads, image file format needs to be determined already before that call.
The
VirtualDisk
class has staticOpenDisk()
methods which accept a file path as input. I have a use case where I don't necessarily know the disk type, but I only have a stream, not a file path.Is there any way to use the convenience
OpenDisk()
method with a stream rather than a local file?The text was updated successfully, but these errors were encountered: