TENware's Profile
Reputation: -1
Dishonored
- Group:
- New Members
- Active Posts:
- 2 (0 per day)
- Joined:
- 27-August 11
- Profile Views:
- 189
- Last Active:
Aug 27 2011 01:16 PM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Working with the Windows Recycle Bin with C#
Posted 27 Aug 2011
Nice work!
I have, however, discovered a problem with the GetSize() function, or more correctly the Shell functions/methods/properties.
folderItem.IsFolder returns false even if the item is a folder
(Type = "File Folder").
Since the type is "File Folder", folderItem.Size returns 0.
You can use the shell32.dll API SHQueryRecycleBin() to get the number of items and total size (in bytes)
see:
http://www.pinvoke.n...RecycleBin.html
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
TENware hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
TENware has no profile comments yet. Why not say hello?