This repository was archived by the owner on Dec 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 15 files changed +31
-52
lines changed
ScpDebugInfoCollector/Properties
ScpDriverInstaller/Properties
ScpGamepadAnalyzer/Properties
ScpXInputBridge/Properties Expand file tree Collapse file tree 15 files changed +31
-52
lines changed Original file line number Diff line number Diff line change 14
14
<ROW Property =" ARPURLUPDATEINFO" Value =" https://github.com/nefarius/ScpServer/releases" />
15
15
<ROW Property =" CTRLS" Value =" 2" />
16
16
<ROW Property =" Manufacturer" Value =" Nefarius Software Solutions" />
17
- <ROW Property =" ProductCode" Value =" 1033:{661E9DB3-3A7F-40C2-BABC-3E779DB6679C } " Type =" 16" />
17
+ <ROW Property =" ProductCode" Value =" 1033:{CDF94DE2-B29B-4858-BBB8-CC8403FC1920 } " Type =" 16" />
18
18
<ROW Property =" ProductLanguage" Value =" 1033" />
19
19
<ROW Property =" ProductName" Value =" ScpToolkit" />
20
- <ROW Property =" ProductVersion" Value =" 1.6.202.15347 " Type =" 32" />
20
+ <ROW Property =" ProductVersion" Value =" 1.6.204.15348 " Type =" 32" />
21
21
<ROW Property =" RUNAPPLICATION" Value =" 1" Type =" 4" />
22
22
<ROW Property =" SecureCustomProperties" Value =" OLDPRODUCTS;AI_NEWERPRODUCTFOUND;AI_SETUPEXEPATH;SETUPEXEDIR" />
23
23
<ROW Property =" UpgradeCode" Value =" {541750FB-F05E-4F6A-AB9A-69A633D3D681}" />
Original file line number Diff line number Diff line change 12
12
13
13
[ assembly: ComVisible ( false ) ]
14
14
15
- [ assembly: AssemblyVersion ( "1.6.202.15347 " ) ]
16
- [ assembly: AssemblyFileVersion ( "1.6.202.15347 " ) ]
15
+ [ assembly: AssemblyVersion ( "1.6.204.15348 " ) ]
16
+ [ assembly: AssemblyFileVersion ( "1.6.204.15348 " ) ]
Original file line number Diff line number Diff line change 12
12
13
13
[ assembly: ComVisible ( false ) ]
14
14
15
- [ assembly: AssemblyVersion ( "1.6.202.15347 " ) ]
16
- [ assembly: AssemblyFileVersion ( "1.6.202.15347 " ) ]
15
+ [ assembly: AssemblyVersion ( "1.6.204.15348 " ) ]
16
+ [ assembly: AssemblyFileVersion ( "1.6.204.15348 " ) ]
Original file line number Diff line number Diff line change 23
23
<AssemblyInfoVersionSettings >
24
24
</AssemblyInfoVersionSettings >
25
25
<PrimaryVersionType >AssemblyVersionAttribute</PrimaryVersionType >
26
- <AssemblyVersion >1.6.202.15347 </AssemblyVersion >
26
+ <AssemblyVersion >1.6.204.15348 </AssemblyVersion >
27
27
</PropertyGroup >
28
28
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
29
29
<DebugSymbols >true</DebugSymbols >
Original file line number Diff line number Diff line change @@ -22,34 +22,13 @@ public static string NewMacAddress
22
22
var b = Convert . ToByte ( number ) ;
23
23
if ( i == 0 )
24
24
{
25
- b = SetBit ( b , 6 ) ; //--> set locally administered
26
- b = UnsetBit ( b , 7 ) ; // --> set unicast
25
+ b = ( byte ) ( ( b & 0xFE ) | 0x02 ) ; //-->set locally administered and unicast
27
26
}
28
- sBuilder . Append ( string . Format ( "{0}: " , number . ToString ( "X2" ) ) ) ;
27
+ sBuilder . Append ( string . Format ( "{0}" , number . ToString ( "X2" ) ) ) ;
29
28
}
30
29
31
- return sBuilder . ToString ( ) . ToUpper ( ) . TrimEnd ( ':' ) ;
30
+ return sBuilder . ToString ( ) ;
32
31
}
33
32
}
34
-
35
- private static byte SetBit ( byte b , int bitNumber )
36
- {
37
- if ( bitNumber < 8 && bitNumber > - 1 )
38
- {
39
- return ( byte ) ( b | ( byte ) ( 0x01 << bitNumber ) ) ;
40
- }
41
-
42
- throw new ArgumentOutOfRangeException ( bitNumber . ToString ( ) ) ;
43
- }
44
-
45
- private static byte UnsetBit ( byte b , int bitNumber )
46
- {
47
- if ( bitNumber < 8 && bitNumber > - 1 )
48
- {
49
- return ( byte ) ( b | ( byte ) ( 0x00 << bitNumber ) ) ;
50
- }
51
-
52
- throw new ArgumentOutOfRangeException ( bitNumber . ToString ( ) ) ;
53
- }
54
33
}
55
- }
34
+ }
Original file line number Diff line number Diff line change 12
12
13
13
[ assembly: ComVisible ( false ) ]
14
14
15
- [ assembly: AssemblyVersion ( "1.6.202.15347 " ) ]
16
- [ assembly: AssemblyFileVersion ( "1.6.202.15347 " ) ]
15
+ [ assembly: AssemblyVersion ( "1.6.204.15348 " ) ]
16
+ [ assembly: AssemblyFileVersion ( "1.6.204.15348 " ) ]
Original file line number Diff line number Diff line change 12
12
13
13
[ assembly: ComVisible ( false ) ]
14
14
15
- [ assembly: AssemblyVersion ( "1.6.202.15347 " ) ]
16
- [ assembly: AssemblyFileVersion ( "1.6.202.15347 " ) ]
15
+ [ assembly: AssemblyVersion ( "1.6.204.15348 " ) ]
16
+ [ assembly: AssemblyFileVersion ( "1.6.204.15348 " ) ]
Original file line number Diff line number Diff line change 12
12
13
13
[ assembly: ComVisible ( false ) ]
14
14
15
- [ assembly: AssemblyVersion ( "1.6.202.15347 " ) ]
16
- [ assembly: AssemblyFileVersion ( "1.6.202.15347 " ) ]
15
+ [ assembly: AssemblyVersion ( "1.6.204.15348 " ) ]
16
+ [ assembly: AssemblyFileVersion ( "1.6.204.15348 " ) ]
Original file line number Diff line number Diff line change 12
12
13
13
[ assembly: ComVisible ( false ) ]
14
14
15
- [ assembly: AssemblyVersion ( "1.6.202.15347 " ) ]
16
- [ assembly: AssemblyFileVersion ( "1.6.202.15347 " ) ]
15
+ [ assembly: AssemblyVersion ( "1.6.204.15348 " ) ]
16
+ [ assembly: AssemblyFileVersion ( "1.6.204.15348 " ) ]
Original file line number Diff line number Diff line change 12
12
13
13
[ assembly: ComVisible ( false ) ]
14
14
15
- [ assembly: AssemblyVersion ( "1.6.202.15347 " ) ]
16
- [ assembly: AssemblyFileVersion ( "1.6.202.15347 " ) ]
15
+ [ assembly: AssemblyVersion ( "1.6.204.15348 " ) ]
16
+ [ assembly: AssemblyFileVersion ( "1.6.204.15348 " ) ]
You can’t perform that action at this time.
0 commit comments