Read SWF file code from C#.Net

I need to read of SWF file in my C# application so i need to read the code of the SWF file and check if specific code exists or not