Looks like it. If an easy answer was available we'd probably have tons of sample code to choose from.