Getting error in using photobucket api using C#.

404 Views Asked by At

I have copied the C# code from Photobucket api and i am editing as per my need but i am not able to fix the following problem:

enter image description here

Can anyone suggest me how to overcome this issue.

Thanks in advance...

2

There are 2 best solutions below

0
On BEST ANSWER

Quite simply, timestampClient does not exist (or is inaccessible) at each point where you see the underlined variable with that message.

If it needs instantiating then set whatever like:

TimestampClient timestampClient = new TimestampClient()

For this to work you need to ensure that you declare timestampClient somewhere accessible by your DisplayMessage method

0
On

There is a similar issue mentioned here by one of the guy and he resolved it by downloading the source code from here