我得到一个FileStream(filename,FileMode.Open,FileAccess.Read,FileShare.ReadWrite)
然后一个StreamReader(stream,true)
.
有没有办法可以检查流是否以UTF8 BOM开头?我注意到没有BOM的文件被StreamReader读取为UTF8.
我怎么能分开呢?
我想试用Microsoft.SharePoint.Client API. http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.aspx
我怎样才能获得Microsoft.SharePoint.Client.dll?
"SharePoint 2010参考:软件开发工具包"包含示例. http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=f0c9daf3-4c54-45ed-9bde-7b4d83a8f26f
是否有一个具有DLL的SDK?