C# Source code add web refrence and develop the functions