I am exporting all the e-mails from folder and sub-folder of exchange server, i am able to get all the folder and its mails using the link, (answer ofono2012)
How To Get all ITEMS from Folders and Sub-folders of PublicFolders Using EWS Managed API
but i am not able to get, which folder was whose sub-folder, means not able to get folder hierarchy
please help