Updated Obsolete GetTypedClient To As
Merge pull request #166 from Xelom/master

Updated Obsolete GetTypedClient to As in the example