Hi Vlad
When compiling your code I'm getting the follwoing errors:
Error 1 The type or namespace name 'ILocalSopDataSource' could not be found
Error 2 'ClearCanvas.ImageViewer.StudyManagement.ImageSop' does not contain a definition for 'DataSource'
The errors comes from the yellow highligted parts of the code below:
ILocalSopDataSource localSopDataSource = imageSopProvider.ImageSop.DataSource as ILocalSopDataSource;
Note:
I'm using SDK 1.3