improve:PPT墨迹
This commit is contained in:
@@ -562,7 +562,7 @@ namespace Ink_Canvas.Helpers
|
|||||||
var presentationPath = presentation.FullName;
|
var presentationPath = presentation.FullName;
|
||||||
var fileHash = GetFileHash(presentationPath);
|
var fileHash = GetFileHash(presentationPath);
|
||||||
var processId = GetProcessId(presentation);
|
var processId = GetProcessId(presentation);
|
||||||
return $"{presentation.Name}_{presentation.Slides.Count}_{fileHash}_{processId}";
|
return $"{presentation.Name}_{fileHash}_{processId}";
|
||||||
}
|
}
|
||||||
catch (COMException comEx)
|
catch (COMException comEx)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -456,7 +456,7 @@ namespace Ink_Canvas.Helpers
|
|||||||
{
|
{
|
||||||
var presentationPath = presentation.FullName;
|
var presentationPath = presentation.FullName;
|
||||||
var fileHash = GetFileHash(presentationPath);
|
var fileHash = GetFileHash(presentationPath);
|
||||||
return $"{presentation.Name}_{presentation.Slides.Count}_{fileHash}";
|
return $"{presentation.Name}_{fileHash}";
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user