Hannawell Posted January 29, 2010 Share Posted January 29, 2010 Is it possible to obtain the FileStream handle or the file's name from the input stream passed to the FileType plugin? My plugin handles multiple extension types, & I need a quick way to determine the file extension type prior to processing the stream data. I know the input stream is a 'PaintDotNet.SiphonStream'. I believe it contains another Stream which is 'the' FileStream (I can see it in the debugger), however that member is private. Is there a way to get to that data? If not, could an interface be added to the SiphonStream class? (based on some source I'd seen for SiphonStream.cs) thanks, Hannawell Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.