@@ -397,7 +397,7 @@ public ICommand CopySelectedIPAddressCommand
397397
398398 private void CopySelectedIPAddressAction ( )
399399 {
400- Clipboard . SetText ( SelectedIPScanResult . PingInfo . IPAddress . ToString ( ) ) ;
400+ CommonMethods . SetClipboard ( SelectedIPScanResult . PingInfo . IPAddress . ToString ( ) ) ;
401401 }
402402
403403 public ICommand CopySelectedHostnameCommand
@@ -407,7 +407,7 @@ public ICommand CopySelectedHostnameCommand
407407
408408 private void CopySelectedHostnameAction ( )
409409 {
410- Clipboard . SetText ( SelectedIPScanResult . Hostname ) ;
410+ CommonMethods . SetClipboard ( SelectedIPScanResult . Hostname ) ;
411411 }
412412
413413 public ICommand CopySelectedMACAddressCommand
@@ -417,7 +417,7 @@ public ICommand CopySelectedMACAddressCommand
417417
418418 private void CopySelectedMACAddressAction ( )
419419 {
420- Clipboard . SetText ( MACAddressHelper . GetDefaultFormat ( SelectedIPScanResult . MACAddress . ToString ( ) ) ) ;
420+ CommonMethods . SetClipboard ( MACAddressHelper . GetDefaultFormat ( SelectedIPScanResult . MACAddress . ToString ( ) ) ) ;
421421 }
422422
423423 public ICommand CopySelectedVendorCommand
@@ -427,7 +427,7 @@ public ICommand CopySelectedVendorCommand
427427
428428 private void CopySelectedVendorAction ( )
429429 {
430- Clipboard . SetText ( SelectedIPScanResult . Vendor ) ;
430+ CommonMethods . SetClipboard ( SelectedIPScanResult . Vendor ) ;
431431 }
432432
433433 public ICommand CopySelectedBytesCommand
@@ -437,7 +437,7 @@ public ICommand CopySelectedBytesCommand
437437
438438 private void CopySelectedBytesAction ( )
439439 {
440- Clipboard . SetText ( SelectedIPScanResult . PingInfo . Bytes . ToString ( ) ) ;
440+ CommonMethods . SetClipboard ( SelectedIPScanResult . PingInfo . Bytes . ToString ( ) ) ;
441441 }
442442
443443 public ICommand CopySelectedTimeCommand
@@ -447,7 +447,7 @@ public ICommand CopySelectedTimeCommand
447447
448448 private void CopySelectedTimeAction ( )
449449 {
450- Clipboard . SetText ( SelectedIPScanResult . PingInfo . Time . ToString ( ) ) ;
450+ CommonMethods . SetClipboard ( SelectedIPScanResult . PingInfo . Time . ToString ( ) ) ;
451451 }
452452
453453 public ICommand CopySelectedTTLCommand
@@ -457,7 +457,7 @@ public ICommand CopySelectedTTLCommand
457457
458458 private void CopySelectedTTLAction ( )
459459 {
460- Clipboard . SetText ( SelectedIPScanResult . PingInfo . TTL . ToString ( ) ) ;
460+ CommonMethods . SetClipboard ( SelectedIPScanResult . PingInfo . TTL . ToString ( ) ) ;
461461 }
462462
463463 public ICommand CopySelectedStatusCommand
@@ -467,7 +467,7 @@ public ICommand CopySelectedStatusCommand
467467
468468 private void CopySelectedStatusAction ( )
469469 {
470- Clipboard . SetText ( Resources . Localization . Strings . ResourceManager . GetString ( "IPStatus_" + SelectedIPScanResult . PingInfo . Status ) ) ;
470+ CommonMethods . SetClipboard ( Resources . Localization . Strings . ResourceManager . GetString ( "IPStatus_" + SelectedIPScanResult . PingInfo . Status ) ) ;
471471 }
472472 #endregion
473473
0 commit comments