Community
Showing results for 
Search instead for 
Do you mean 
Reply

Reading attachment contents

Tuned Listener
Posts: 23
Country: UK

Reading attachment contents

Is it possible to read the contents of an attachment within the SDK?

I've got some text files that are attached to notes within the system. I can read the filename / type etc but can't see any way that i might be able to get at the contents of the file. Is this possible?

Thanks

Russell
Nickel Super Contributor
Posts: 441
Country: UK

Re: Reading attachment contents

[ Edited ]

Hi Russell,

If you can read the filename and they are just text files have you tried using the System.IO.StreamReader class?

 

Tom

Message Edited by TDavis on 07-16-2008 04:51 PM
Tuned Listener
Posts: 23
Country: UK

Re: Reading attachment contents

Thanks tom,

I'd totally missed that property, works a treat

Russell