i'm trying to reuse the same code on both Windows and Linux and i've just found the `getData` method is missing on Windows. Any alternative i can use?